How to make an insert in this table

0

I have a vehicle registration, which has a combo box with the years for the user to choose, these years comes from the "year" table. When I complete a registration of a new car, I have to give an insert in the table "car", my problem is there, how will I save the year that the user chose, if the table "car" does not have this field?

    
asked by anonymous 09.06.2017 / 04:36

1 answer

0

I think it's best not to put the year inside the tables, just let the combobox the year-make / model you put on the vehicle table. try doing this: link

    
09.06.2017 / 08:28