Check for exists record

BlindPro

Registered User.
Local time
Today, 05:26
Joined
Jun 16, 2012
Messages
40
Hi, I have combo box that contains name of all customer, I want when i enter name of new customer that not listed in, newCustomer form will open,
then How can i check for existing record in Access VBA?
 
Hello BlindPro,

It depends on the version of Access. 2003 or rearlier use the "On Not In List" event of the combobox to create a little bit of VBA to open the newcustomer form - Just type NotINList in VBA editor help and it will direct you.

However if you have Access2007 or 2010 then you can set a fom name in the comboboxes Properties>>Data>>ListItemsEditForm .
 
thank for your replay, I did it with VBA code
 

Users who are viewing this thread

Back
Top Bottom