How to update a text box entry on form

F

FL

I've created a list box for user to select an name from a list. This record
is linked to a field that is shown by a separate text box on the same form.
However, the text box does not show the selection until the user moves out of
the current record and back in. Any suggestions on how to refresh
immediately and automatically so the text box reflects the entry selected by
the list box without having to leave the current record on form?
 
C

Carl Rapson

FL said:
I've created a list box for user to select an name from a list. This
record
is linked to a field that is shown by a separate text box on the same
form.
However, the text box does not show the selection until the user moves out
of
the current record and back in. Any suggestions on how to refresh
immediately and automatically so the text box reflects the entry selected
by
the list box without having to leave the current record on form?

It sounds like you're populating the text box in the Form_Current event
(which is OK). Try adding the same code to the AfterUpdate event of the list
box and see if that works.

Carl Rapson
 
Top