I have a form with a comboBox that lists all values for a field, such as Facility1, Facility2. When a value is selected the next control is a combobox that will do a Select Statement for RowSource. I want to code the Select statement so that it goes to a certain table based on what they selected, Facility1 or 2. The table name will be tbl_2005Facility1 if they selected Facility1. All tables will start with "tbl_2005" then the facility name. Once that comboBox is filled and the user selects from the list the record they want, the click even will go to a new form that will only display the record they selected from the Facility table they selected in the first combo box.
I'm sure I'll have dim fields that contain the correct values and I want to put them in the Select Statement.
Anyone know the syntax?
Appreciate it,
Surfside1
I'm sure I'll have dim fields that contain the correct values and I want to put them in the Select Statement.
Anyone know the syntax?
Appreciate it,
Surfside1