Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - NotInList.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Please consider donating $1 per sample downloaded, (find out why here)

NotInList.mdb (intermediate)

 Post Reply Post Reply
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP

Joined: 20 Feb 2008
Status: Offline
Points: 261
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: NotInList.mdb (intermediate)
    Posted: 30 Jul 2008 at 10:40pm

Please consider donating $1 per sample downloaded, find out why here.


This sample illustrates a variety of ways to use the NotInList event of a combo box. To implement it, you must have "Limit to List" set to Yes in the properties of the combo box.

Option 1: Uses NotInList to replace system error message with custom error message.

Option 2: Uses NotInList to allow user to choose whether to add the value to the list or not.

Option 3: Uses NotInList in a combo box which finds a record to add a value not in the list as a New Record.
Access 97 (49 KB):
Access 2000 DAO (52 KB): uploads/5/

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.