I have a few tables: a medError table, an option table, and a selected_options table.
When somebody submits the relevant form, I have an insert which inserts all the info from the form to the medError table. However, on this form, there is a section of dynamic checkboxes based on the items in the option table. The selected_options table holds the ID of the row in the medError table along with selected options based on the IDs in the option table.
How would I take the ID # from the newly inserted row in the medError table and insert it into the selected_options table?
I'm using Coldfusion and Access.