Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to go to a new record?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to go to a new record?
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01504292
Message ID:
01504292
Views:
128
Hi,

Say I add (in code) a new record to a cursor. VFP assigns recno -1 to this record. Then I move record pointer to another record (say, Go Top). And when I want the record pointer to be moved back on the newly added record, what is the reliable method to do so? I tried to go to -1 but it moves to record no 1 (not negative 1). The PK value is not yet assigned to this new record so I cannot use it. Any suggestions? TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform