Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mensud
  • Content: Threads
  • Order by date
  1. mensud

    Creating and naming TABLE using SYS(2015)

    Hi, I am trying to copy records from cursor into a table, whose name is created using SYS(2015) function. The code looks like: tmptable=substr(sys(2015),1,10) select * from cunion into table c:\&tmptable use c:\&tmptable in 0 select (tmptable) Every time when compiler try to execute the line...
  2. mensud

    How to put a cursor name to variable

    Hello, I need to put a cursor name into local variable, and also do something with that cursor using variable as name. Thanks. Mensud
  3. mensud

    How to populate multicolumn combobox

    I need to populate a two-column combobox. I am using AddItem method, but I get an empty items in both columns. How to populate multicolumn combo box anuway? Thanks. Mensud
  4. mensud

    IIF nesting

    Hello, I am trying to use 6 IIF commands in SetAll method. It looks like this: thisform.grid1.SetAll("dynamicbackcolor", ; "IIF(orderCursor.term='PRE', rgb(128,128,128),; IIF(orderCursor.term='PEN', RGB(255,128,64),; IIF(orderCursor.term='PEI', rgb(0,0,255)...
  5. mensud

    OCX as DLL - is it possible ?

    Hi, Basicly what I am trying to do is to "convert" or rewritre an OCX control into ActiveX Dll. Since I am using UserControl (in OCX), I don't know if it is possible to convert this control to dll. If there is a way to make this conversion please suggest some tips how to do that...
  6. mensud

    OCX as DLL - is it possible ?

    Hi, Basicly what I am trying to do is to "convert" or rewritre an OCX control into ActiveX Dll. Since I am using UserControl (in OCX), I don't know if it is possible to convert this control to dll. If there is a way to make this conversion please suggest some tips how to do that...
  7. mensud

    ListBox and EditBox controls

    Hello, I have very, very stupid situation. I am working with ListBox and EditBox controls. What I am trying to do is very simple. When I type something in textbox and after pressing enter button, I want this to be showned upo in my tlistbox, and KEEP FOCUS on editbox, so I can enter another...
  8. mensud

    Input from barcode reader

    I have ListBox which should contains data read by barcode reader. My idea was to put TextBox control onto form, and fill out the listbox from this control. But, I would like to make restriction on textbox field, so the user should not be able to type into this field, but use scanner only. My...
  9. mensud

    How to print detail table twice on the same sheet

    I have a table populated with some data grouped by "code" field. What I am trying to do is to print this table twice on the same sheet of paper. In report, I am using group band (field "code" from the table) and detail band. Is there any possibility to use detail band twice...
  10. mensud

    Passing parameters to DLL function

    Hello, I want to use a function from DLL which was developed in VC++. This function receive two parameters (SHORT data type) as hexadecimal numbers. I don't know how to pass the next sequence of characters "^XA,P,P,P,^FS" to this function, as one of parameters. I mean, how to convert...
  11. mensud

    What type is equal to C++ SHORT type?

    I have developed an dll in C++(my favorite language) and I want to use this dll in foxpro. I am not sure what type in FoxPro is equal to VC++ short type. Thanks
  12. mensud

    How to flush the cursor

    Hi, I have a cursor created with CREATE CURSOR. In some point I want to delete all data from this cursor, and fill out with new ones. I can't remember how to do that without deleting cursor and recreating. Mensud
  13. mensud

    How to close cursor

    One stupid question: How to close a cursor ?
  14. mensud

    Automatic event firing

    Hi, I have really strange problem. I am working with two forms and barcode reader which I use instead of keyboard. The scenario is next. On the first form I have one edit field which is populated with value that barcode reader reads. After this field is populated, the second form is opened. On...
  15. mensud

    How to simulate event?

    Hi everyone, How could I simulate an event occuring. In my app I need to trigger an event for one of controls. Thanks Mensud
  16. mensud

    Cursor contains wrong data !!!

    Hi, I have next query: select account,slip,name,qty,qty2,amount,entry; from qapordtx where qapordtx.slip=thisform.lslip; into cursor tmpcur The field slip in table qapordtx is numeric (10). Property lslip is also numeric. After my query is executed in program, instead of only one record I...
  17. mensud

    Printing picture on report doesn't work

    Hi, I have problem in printing reports with pictures on different machines. When I try to print reports, program works correctly on some machines, but on some machines I got only icones with picture name. All tested machines are Windows 2000 Pro, all pictures are on the server. By the way, I...
  18. mensud

    OLE error:...:Unknown name

    Hi, I am working with QuickBooksSDK. Manufacturer has provided a dll (qbfc2_1.ddl). This DLL has only 2 classes and a lot of interfaces. I can create object of these class, but I can't (or I don't know) use interfaces. Every time I get message: "OLE error code: 0x80020006:Unknown...
  19. mensud

    DLL(from C++) in VFP

    Hi, I am trying to call some functions from dll developed in VC++, but I can not even create object in VFP for this DLL. I already tried with DECLARE..., and CREATEOBJECT, but does not work. Any suggestion? Thanks Mensud
  20. mensud

    Using cursor in another form

    Hi, I have problem with using cursor in form different then it was created. In start form, I created cursor, and later I am calling another form from this form, and trying to use previously created cursor. But every time I get message "Alias is not found" or something... What could be...

Part and Inventory Search

Back
Top