Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Erik,
The code on the command button is:
Select datarept
Append Blank
ThisForm.Refresh
ThisForm.Unitextb1.Setfocus
Then I type in the data in Unitextb1 and press enter key to cause it to loose focus. At this time I desire to double click the first header in my grid which displays child records. I have code on the double click event as so:
Select edrsubmi
Append Blank
Replace edr_no With ThisForm.Unitextb1.Value
Replace edr_subno With 1
The trouble is that the record I add is really not in focus until I click on the previous nav button to move the record pointer back one record. As I said it seems that after I type in the record data the pointer is past the EOF. Another thing is if I click the next record nav button I get an error that I am past last record.
Thanks,
S. Dyke
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement