Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form resets record pointer?
Message
 
À
25/08/1999 11:54:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00257450
Message ID:
00257470
Vues:
22
That got it - removing the table from the DataEnvironment.

I already had Default Data Session, which was what was frustrating me.

Thank you very much!

Neil


>Don't include the table in the modal form DataEnvironment and set the form DataSession to 1 - Default Data Session.
>
>HTH
>
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform