K
Ken
I have an Access 2003 database with two tables: tblWriters and tblProjects.
I created a query, qryForComboBox, that lists all of the project names from
tblProjects with the appropriate writer names from tblWriters.
I’m trying to develop a form with cascading combo boxes. The Writers
combobox needs to show all the writers in qryForComboBox, and the Projects
combobox needs to show all the projects from qryForComboBox for the selected
writer.
The problem is that when I select a writer from the Writer combobox, and
then select one of that writer’s projects from the Project combobox, and then
press Enter, the writer name in one of the records in the Writer table gets
overwritten with someone else’s name!
Since the form and the comboboxes look exclusively at qryForComboBox and
none of the tables, I don’t know why tblWriters is getting updated. It
shouldn’t. Can anyone offer any suggestions?
I created a query, qryForComboBox, that lists all of the project names from
tblProjects with the appropriate writer names from tblWriters.
I’m trying to develop a form with cascading combo boxes. The Writers
combobox needs to show all the writers in qryForComboBox, and the Projects
combobox needs to show all the projects from qryForComboBox for the selected
writer.
The problem is that when I select a writer from the Writer combobox, and
then select one of that writer’s projects from the Project combobox, and then
press Enter, the writer name in one of the records in the Writer table gets
overwritten with someone else’s name!
Since the form and the comboboxes look exclusively at qryForComboBox and
none of the tables, I don’t know why tblWriters is getting updated. It
shouldn’t. Can anyone offer any suggestions?