what subform events should I use to requery listbox on a subform?

G

Guest

I have a subform based on a query that may pull multiple records. There is a
unbound listbox on the subform that queries another table based on the value
of a field on the subform. When I moved from record to record on the subform,
contents of the listbox should change because the value of that data field on
the subform will change.

Could anyone tell me what subform or form events I should use so that when I
press the next record navigation button, the content of the listbox will be
automatically requeried.

Thanks in advance.
thomas
 
G

Guest

Are you requerying your unbound listbox when you change records in the
subform? For example, in the subform's current event, is there a line of code
reading, Me.MyListBox.Requery

TL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top