General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only