Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to go to a new record?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to go to a new record?
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01504292
Message ID:
01504292
Vues:
129
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform