Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know how many records where appended to a table
Message
 
 
To
03/03/2005 19:41:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00992279
Message ID:
00992698
Views:
21
Evelyn,

If that's the only program inserting into the table at the time it'd be ok. But _tally is probably the best solution. You can also count the number of lines in the raw file:
create cursor linecount ( c(1) )
append from ...
? reccount()
>hi, i have that same code in my program, thought it wasn't a good idea to get reccount() then subtract it to the reccount() after append.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform