Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Tally and other 'global' variables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139598
Message ID:
00139603
Views:
54
>What is the general concensus about using the global variables such as _tally.
>
>select * from sometable into cursor somecursor
>...
>if _tally>0
>
>verses
>
>select * from sometable into cursor somecursor
>...
>if reccount("somecursor")>0

_tally is really a FP system variable, so there's nothing wrong with using it, except that it must be used *immediately* after a query to guarantee correctness...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform