If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Combo box accepting new entry
I am new to Access programming. My problem is I have a combo box that adds a new record to the underlying bound table. When I enter a new record I get "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". The dropdown shows the new record. The new record is being added to the table by use of the NotInList event but I cannot exit the combo box. I have tried requering the combo box in the Combobox_AfterUpdate event and the Form_AfterUpDate event. Any help would be appreciated.
-- Sharon |
#2
|
|||
|
|||
Combo box accepting new entry
In the NotOnList event's code, before the subroutine ends, add this line:
Response = acDataErrContinue See if that eliminates your problem. -- Ken Snell MS ACCESS MVP "Sharon" wrote in message ... I am new to Access programming. My problem is I have a combo box that adds a new record to the underlying bound table. When I enter a new record I get "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". The dropdown shows the new record. The new record is being added to the table by use of the NotInList event but I cannot exit the combo box. I have tried requering the combo box in the Combobox_AfterUpdate event and the Form_AfterUpDate event. Any help would be appreciated. -- Sharon |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cascading Combo Boxes | Tom | Using Forms | 1 | June 9th, 2004 02:04 AM |
Cascading Combo Boxes | Tom | Using Forms | 0 | June 8th, 2004 09:24 PM |
Combo Box Problem | Charles | Using Forms | 0 | May 28th, 2004 09:15 PM |
Requery Combobox | MJ | Running & Setting Up Queries | 7 | May 25th, 2004 11:01 AM |
update combo box with each entry | JRLH | Database Design | 3 | May 24th, 2004 03:29 PM |