Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Total of records after delete
Message
 
 
To
10/12/2009 11:17:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01438395
Message ID:
01438405
Views:
45
>Thanks Sergey.
>It's just what I need. I wanted to avoid to save the selected work area and then restore it.
>
>
>SELECT 1 FROM louvores TO SCREEN NOCONSOLE
>?_TALLY
>
>

IMHO, you can just do then
select count(*) from myCursor into array laTotalRecs

lnTotal = laTotalRecs[1]
release laTotalRecs
It is better solution than Sergey's (I would assume), in case of many records.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform