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:
00155350
Vues:
22
>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.

i have had some problems with record pointers moving, but they have all been caused by table relationships. you could set a breakpoint in the debugger, break when expression has changed. the expression would be recno('tablename'). i would also set on event tracking in the debugger. might also want to try a wait window recno('table') in the init and activate, instead of using the debugger. i am a debug fanatic, but the active debug window can change your test environment. debug is great, but there are times when the good old wait window gives you a truer picture.

good luck - brenda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform