Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Recno is giving to me a negative val.
Message
From
23/09/1998 00:19:27
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00139610
Message ID:
00139696
Views:
29
Hi Barbara ---

I believe that it only applies (negative recnos) on tables that have been table buffered. A neat way to update appended records is to grab the last false recno (will be the lowest negative) and increment until 0.


>As Edward said, you will get a negative value on an added record. If you wish to store a reference to a specific record, use the primary ID value instead of the Recno() value. The ID won't change, and can always be found with SEEK()
>
>HTH
>Barbara
>
>>I have a code when I use the command recno and store it to a variable, but it has negative val.
>>Why it happen....?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform