Hi,
it's not clear from your description, if this value must be added to the table MLT or if it has to update a record already existing.
So in case you must add a record on click event of Submit button you'll write:
if me.ComboBox1 = "UP" then
CurrentDB.Execute "INSERT INTO MLT ([Up status]) VALUES(" & YourValue & ")"
else
CurrentDB.Execute "INSERT INTO MLT ([Down status]) VALUES(" & YourValue & ")"
end if
in the UPDATE CASE:
if me.ComboBox1 = "UP" then
CurrentDB.Execute "UPDATE MLT SET [Up status=" & YourValue & " WHERE YOURCONDITION"
else
CurrentDB.Execute "UPDATE MLT SET [Down status] =" & YourValue & " WHERE YOURCONDITION"
end if
Cinzia
Sito RIO Il mio Blog