Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When does the record pointer move.
Message
 
 
À
05/11/1998 16:03:07
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00155000
Message ID:
00155006
Vues:
38
>I am using a private data session. When the form opens it receives a parameter value which is used to search the primary key of a table in the dataenvironment and populate the entry boxes on the form. I do the search in the init of the form where I also manipulate a couple of the fields in the table. Everything is ok in the init event. The activate event for the form for which there is no code MOVES the record pointer and I cannot determine why. What's going on here? I finally just put some code in to test the key value and do another seek if it is different but I sure would like to understand why this is happening.

Is there any code in your base form class activate method? You could try placing 1 line of code [NoDefault] in the Activate method of the form that is problematic. If that works, maybe something in the parent form class Activate is moving the pointer.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform