I have a combo box [cmbCompany] whose:
Record Source = tblCompnay
Row Source
Column 1 = [companyID](Autonumber)
Column 2 = [company]
I have column widths set to 0;1.5 so only the [company] name shows.
Bound Column = 1
I have Limit to list set to Yes.
In the Not in List Event I have code to bring up a Yes/NO msg box that says Company not in list would you like to add a new company. If User says yes the [frmCompany] in Data Entry Mode pops up?
The problem occurs after my msg box pops up the standard msg box saying the item you entered is not in the list please select or enter an item that matches...and this blicks my frmCompany Data Entry form from opening. Is there any way to get around this?
Thanks.
Record Source = tblCompnay
Row Source
Column 1 = [companyID](Autonumber)
Column 2 = [company]
I have column widths set to 0;1.5 so only the [company] name shows.
Bound Column = 1
I have Limit to list set to Yes.
In the Not in List Event I have code to bring up a Yes/NO msg box that says Company not in list would you like to add a new company. If User says yes the [frmCompany] in Data Entry Mode pops up?
The problem occurs after my msg box pops up the standard msg box saying the item you entered is not in the list please select or enter an item that matches...and this blicks my frmCompany Data Entry form from opening. Is there any way to get around this?
Thanks.