Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for refering to a cursor?
Message
From
26/08/2013 16:06:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/08/2013 15:59:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01581458
Message ID:
01581461
Views:
71
Likes (1)
>Hi. there is a command in vfp that allows the developer to make reference to a cursor as if it were a database. The command goes something like:
>
>append from DBF('mycursor')
>
>
>Please, can someone help me with the syntax of this command or maybe where I can find it in help/the web.

You got that right. Note that it was possible, at least back in VFP7, that it fails because the actual file returned by dbf(lcMyAlias) didn't physically exist, as the cursor was small or based on a filter and completely resided on memory and was never written to disk. This was fixed in later versions, so append worked even without the physical file. See the other answer about NOFILTER clause, that should fix it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform