G
Guest
I have a large table of data with a form built onto it. To filter the data I
have another form with a combobox that is populated from a SQL statement
(which is a concatentation of three keyword fields in the underlying table).
After selecting an option in the combobox and clicking the search button the
original form opens filtering the data on the combobox selection.
On the filtered form I want to set the forms Caption to display the value
chosen in the combobox of the search form using the OnCurrent event. I can't
seem to catch the value of the search form's combobox. I have tried using:
Forms!frmName!cboBox
as per the Access Help Files, but I keep getting an error message saying
Access can't find the frmName, even though both forms are in the same
application. I've also tried using Me! in front of the above but to no avail.
It's probably simple but it's just bugging me now.
Thanks for any ideas.
have another form with a combobox that is populated from a SQL statement
(which is a concatentation of three keyword fields in the underlying table).
After selecting an option in the combobox and clicking the search button the
original form opens filtering the data on the combobox selection.
On the filtered form I want to set the forms Caption to display the value
chosen in the combobox of the search form using the OnCurrent event. I can't
seem to catch the value of the search form's combobox. I have tried using:
Forms!frmName!cboBox
as per the Access Help Files, but I keep getting an error message saying
Access can't find the frmName, even though both forms are in the same
application. I've also tried using Me! in front of the above but to no avail.
It's probably simple but it's just bugging me now.
Thanks for any ideas.