Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETNEXTMODIFIED Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01264489
Message ID:
01264492
Views:
11
This message has been marked as the solution to the initial question of the thread.
>I deleted one record, modified one record, and inserted one record.
>
>GETNEXTMODIFIED() returns the record number of the deleted record, then the record number of the
>modified record, but then returns -1.
>
>I don't see any mention of -1 in the help for GETNEXTMODIFIED(). Anyone know what's going on here?
>
>Also, as a test, I opened the table in the command window, turned on table buffering, did an APPEND BLANK, and GETNEXTMODIFIED() returns 0.
>
>What's up with this?
>
Here's an excerpt from VFP9's Help for "How to: Append and Delete Records in Table Buffers":
You can append and delete records while table buffering is enabled: appended records are added to the end of the buffer. To access all records in the buffer, including appended records, use the RECNO( ) Function. The RECNO( ) function returns sequential negative numbers on records you append to a table buffer. For instance, if you initiate table buffering, edit records 7, 8, and 9, and then append three records, the buffer will contain RECNO( ) values of 7, 8, 9, – 1, – 2, and – 3.

cheers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform