Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there something faster than COUNT FOR?
Message
From
15/05/1998 07:16:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/05/1998 02:51:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00099443
Message ID:
00099685
Views:
21
>>>>I need a fast COUNT for my table. Is there something faster than COUNT FOR? My code is COUNT FOR empty(mydate)... :)
>>>
>>>I've found mark & cetin answers, and sure they are in the right way, not me, but how about issue a 'seek' and then 'count while' ?.
>>Carlos,
>>This is fast and sure a right way. I prefer SQL because I don't like playing with rec pointer for such operations. Underlying code might lead to side effects (ie:in an edit session valid would fire).
>>Cetin
>
>Do you mean that SQL does not move record pointer in the table ?. Ok. Good thing.
Yes, SQL select doesn't touch rec pointer. Only drawback it operates on flushed data (I mean with buffering you don't have the buffered data included like in use again).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform