Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use dbf() again fails
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00292541
Message ID:
00292596
Views:
20
>>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
Map
View

Click here to load this message in the networking platform