Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File returned by DBF() does not exist!!!
Message
From
07/02/2000 01:43:57
 
 
To
07/02/2000 01:29:55
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00328150
Message ID:
00328154
Views:
29
>I am trying to return a cursor string from a COM server by RETURNing FILETOSTR(DBF()). DBF() returns a valid file name, but FILETOSTR() cannot find the file! And yes, there is an active cursor in current work area. Why? Need HELP!!!

This is just what I have guessed from experience:
Only certain commands will find the filename of a temp cursor because I think its in memory and not a physical file. File() can't see them, and neither will FileToStr(). But stuff like COPY FILE and USE will, so you can copy the file to physical location before doing a FileToStr(), but ...

>Note: The cursor is without record, I just want to return the structure of that cursor to the client apps (in the form load event)

... you can use AFields() to grab teh structure of a cursor. Proabably easier.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform