Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Pointer Question
Message
De
20/03/2003 17:40:08
 
 
À
20/03/2003 15:55:58
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00768319
Message ID:
00768372
Vues:
23
>I am haing trouble with data selected on a form not agreeing with the record. I use Select myTable then Seek(myNumber) Order myindex in the init event of the form. Then for example I chose an option button that is bound to a field. I close the form. Open it up again and the wrong option button is selected. It's like the record pointer is moving after the form is opened even though the rest of the data on the form looks like it's on the right record. I believe this is the same problem I stated on an earlier post today which I have not gotten a response. I really need some help on this.

Are you certain that the SEEK is finding the correct record? Just for debugging, maybe you could put in a GOTO and go to a record that has a known value. Then, when you close the form, display the current record number. If the record number is different than the value used in the initial GOTO, then something is definitely moving the record pointer somewhere between INIT and closing the form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform