Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append for few records
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00598952
Message ID:
00599103
Views:
23
>>Nadya,
>>
>>The FOR clause on APPEND FROM acts on the source of the append not the target.
>
>Exactly what I was thinking. So, where VFP allows you to perform some checks on the data, it won't be able to evaluate stuff like Recno(). Now I think of it, this will be the same as FOR NOT DELETED() won't work (never thought of it this way ;).

FOR ! DELETED() works when importing a DBF file; RECNO() is a problem, since the file isn't open to give it an alias to reference.

>Knowing this, it can be solved by having a nRecno field in the source table (obviously equal to Recno()) and you will be able to test for that (with WHILE if possible) ...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform