Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_TALLY returns 1 instead of 0
Message
From
14/04/2003 02:28:39
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00777086
Message ID:
00777094
Views:
11
>Hi Michel,
>
reccount(< YourNewCursorName >)
>should do it.

Yes, I ended up doing this:
* Syntax differs from VFP to SQLExec()
IF This.lClientServer
   COUNT TO This.nCount
   ELSE
   This.nCount=_TALLY
ENDIF
Basically, I'd like to have the best optimized way. _TALLY is good for native VFP table as we are just accessing a reference. But, doing a COUNT as I do for a SQLExec() cursor is a little bit more process. Is RECCOUNT() using the _TALLY approach or the COUNT approach?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform