I
Ivor Williams
I have a form frmOrder with an unbound combo box cboPartNo, with the
Limit to List property set to Yes. In the "On Not in List" event, I've added
the following:
DoCmd.OpenForm "frmNewPart", , , , , acDialog
Response = acDataErrAdded
When I enter a new part number in the combo box, the form frmNewPart opens
as expected, but when I try to close the form, I get the following message:
"The text you entered isn't an item in the list.
Select an item from the list, or enter text that matches one of the listed
items."
Then the frmNewPart form closes without updating the information in the
frmOrder form.
I've tried changing the Limit to List" property to No, but it didn't solve
the problem.
Ivor
Limit to List property set to Yes. In the "On Not in List" event, I've added
the following:
DoCmd.OpenForm "frmNewPart", , , , , acDialog
Response = acDataErrAdded
When I enter a new part number in the combo box, the form frmNewPart opens
as expected, but when I try to close the form, I get the following message:
"The text you entered isn't an item in the list.
Select an item from the list, or enter text that matches one of the listed
items."
Then the frmNewPart form closes without updating the information in the
frmOrder form.
I've tried changing the Limit to List" property to No, but it didn't solve
the problem.
Ivor