General information
Category:
Coding, syntax & commands
>>Hi all--
>>
>>I have a line of code:
>>use dbf() again in 0 alias contract
>>
>>which is run directly after an SQL select statement. It has been working just fine - until I brought it to another site. Now it generates an error message:
>>Invalid path or filename --it cannot seem to find the cursor, although it shows as open and dbf() returns the path+tempfilename. Fullpath is ON.
>>
>>This is puzzling since this line has not caused any problems in the past and the cursor is clearly there. Thanks for any hints--
>>Carlie
>
>As Dan says, you're probably getting a filtered table. Try NOFILTER after the CURSOR clause in the SQL...
Even if it were a filtered table, DBF() would return the original table (instead of #####.tmp) which should be able to be USED AGAIN with a new alias.
Previous
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