ACC: Use NotInList Event to Add a Record to a Combo Box (161007)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q161007 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
This article shows you two methods of using the NotInList event to add a new record to a combo box on a form.
This article assumes that you are familiar with Visual Basic for
Applications and that you are also familiar with creating Microsoft Access applications by using the
programming tools that are provided with Microsoft Access. For more information
about Visual Basic for Applications, refer to your version of the
"Building Applications with Microsoft Access" manual.
REFERENCES
For more information about the NotInList event, search the Help Index for
"NotInList event," or ask the Microsoft Access 97 Office Assistant.
For more information about the LimitToList property, search the Help Index
for "LimitToList property," or ask the Microsoft Access 97 Office
Assistant.
You can find more information, instructions, and examples in the Developer
Solutions sample application (Solutions.mdb) included with Microsoft
Access 97. Open the database, and then click Work with combo boxes, list boxes,
subforms, and subreports in the Select a Category of Examples box. Click Add a new record to a list in the Select an Example box.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbhowto kbProgramming kbusage KB161007 |
---|
|