Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File returned by DBF() does not exist!!!
Message
From
07/02/2000 02:55:31
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
 
 
To
07/02/2000 01:43:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00328150
Message ID:
00328158
Views:
29
Mike,

Thanks for you suggestion of using AFields. It would be great if the reason or criteria for this DBF() file to exist PHYSICALLY on the disk is known. I couldn't find such documentation in the TechNet nor elsewhere. AFields would let me re-construct the cursor in local app, but I still need to load the cursor after requerying the COM server with a parameter.

Looking forward for further dicussion on this topic.

Regards,
Juan

>>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