Combo Box - Not In List code

rochelle

New member
Local time
Today, 17:00
Joined
Sep 15, 2000
Messages
5
I have a combo box which selects values from the City table, to view on a Customer form.

What VBA code do I need to write in the Not In List property of the combo box to enable me to add a new item to the City table, assign the new City item a CityID (which may happen automatically) and for that CityID to be stored in my Customer table.

Currenly when I select a City already in the combo box, it automatically assigns the appropriate CityId in my customer table.

All comments/help are gratefully appreciated!

Regards,

Rochelle
 
You will need to run an Append Query.
 

Users who are viewing this thread

Back
Top Bottom