I have 2 table like this,
tbl_motor
motor_id     motor_types
--------------------------
1            audi
2            Ferrari
tbl_employee
employee_id   employee_name   motor_id
--------------------------------------
1             jack            2
2             john            1
But I have problem. I used combo_box on my register.
My combo box query is select motor_types from tbl_motor.
How to insert new value to tbl_employee which is my combo box is string
emmmm I mean parse that string to int.
 
    