Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recno() returns -1 in buffered table.
Message
From
19/11/2001 04:04:14
 
 
To
19/11/2001 01:16:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00583329
Message ID:
00583345
Views:
19
Hi!

RecNo() returns negative number for new added record. In the help file for recno() function I read following:

>>>>
RECNO( ) returns negative numbers for records appended in a table buffer.
>>>>

HTH.

>Hello All,
>
>Can anyone please help me to understand why the recno() command returns -1 in a buffered table. I am using pessimistic table buffering and it appears as though it doesn't matter how many records I add and commit with tableupdate(). Each time i append a blank record and do recno() it tells me the pointer is at
>-1. I understand that recno() will give negative numbers for buffered tables but I think it should change from -1 after the first record is added.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform