Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form resets record pointer?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Modal form resets record pointer?
Divers
Thread ID:
00257450
Message ID:
00257450
Vues:
64
I'm trying to use a form to display fields from a record so the user can verify that the correct record is selected after a LOCATE. All the fields are set to read-Only, and are bound to the table in the form Data Environment.A yes/no option group returns 1 or 0 to the calling routine to indicate whether or not the correct record is selected. The LOCATE instruction works properly (confirmed by substituting a BROWSE in place of the call to the form) but somehow the form changes the record pointer back to the first record and only displays the data in the first record.

I originally tried a THISFORM.REFRESH() in the Init event, then in the GotFocus Event, with the same result each time, so apparently the record pointer is resetting during intantiation of the form.

Any ideas why?

Thanks,
Neil Preston
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform