Hi all,
I have a very busy form with drop down combo boxes that link to lookup tables with foriegn keys. When a user adds a new entry to the list I use an event to open a form based on the related table so they can add the new data.
my problem is this: Once they close and return to the original form they have to select a known value in the combo box, then refresh data, and then reselect the 'new' entry that they added. Otherwise the cboBox does not see the new data in the table via the SQL row source. How can I reference the combo box they came from (there are 8 on different forms) so that I can either requery or refresh? I am trying to work code 'onClse' of form that adds to related table.
best rgds
alorimer@netzero.net
I have a very busy form with drop down combo boxes that link to lookup tables with foriegn keys. When a user adds a new entry to the list I use an event to open a form based on the related table so they can add the new data.
my problem is this: Once they close and return to the original form they have to select a known value in the combo box, then refresh data, and then reselect the 'new' entry that they added. Otherwise the cboBox does not see the new data in the table via the SQL row source. How can I reference the combo box they came from (there are 8 on different forms) so that I can either requery or refresh? I am trying to work code 'onClse' of form that adds to related table.
best rgds
alorimer@netzero.net