Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reccount()
Message
From
26/01/2010 15:28:36
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
26/01/2010 04:08:28
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01445855
Message ID:
01446055
Views:
43
>>>>Note that reccount() returns the total number of records - and it does so quickly. The total number of records may included deleted records, and records that don't match the current filter criteria. To get only records that you see on screen, use the COUNT command instead - or use an SQL - SELECT command.
>>>
>>>is it the same
>>>
>>>nump=count("mytable")
>>>
>>>?
>>
>>There is no COUNT function, but you can do
>>
>>set deleted on
>>select count(*) from myTable into array laCount
>>
>>lnRecords = laCount[1]
>
>that's interesting. why don't you just count?
>
>
>count
>?_tally
>
?eof()

Count command moves the record pointer. SQL select doesn't.

back to same old

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

Click here to load this message in the networking platform