Help updating list boxes

speedosteve

New member
Local time
Today, 11:51
Joined
Mar 15, 2004
Messages
4
I am working on a database for a bowling tournament. I'm currently working on a form where the user selects from a combo box bowlers' names for doubles pairings. I thought that as a helpful tool I would also display a list of available remaining bowlers once the combo box information has changed.

I'm trying to write a module for the combobox_change trigger. What I'm having trouble doing is pulling the updated recordset from the base form and using that to update the availability box -- in other words, how can you query data from the recordset underlying an open form before the form is closed and the data is saved to the tables. The only way I can do this now is to temporarily close the form, manipulate a recordset from the table, then re-open the form. There's got to be a better way. Maybe I'm just missing something here.

Thanks in advance for any help.
 
You can force a form to save its data using...
DoCmd.SelectObject acForm, "SomeForm"
DoCmd.RunCommand acSaveRecord
...or...
Forms!SomeForm.Refresh
 

Users who are viewing this thread

Back
Top Bottom