Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recno funny
Message
From
30/07/2007 10:52:29
 
 
To
30/07/2007 10:49:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01244570
Message ID:
01244581
Views:
15
>>A RECNO() funny - If you have a table and you do a locate (or skip etc) and end up at EOF() then RECNO() returns 1 more than the actual number of records. Does everyone but me know about this :)
>
>Because it returns 1 for an table with no records, I had to go and fix a bunch of somebody else's previous code.

Not quite Alan. My table is not without records. It occurs when you ask for RECNO() and you are at EOF() at the same time.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform