Print Page | Close Window

NotInList.mdb (intermediate)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=311
Printed Date: 28 Mar 2024 at 1:27pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: NotInList.mdb (intermediate)
Posted By: Roger Carlson
Subject: NotInList.mdb (intermediate)
Date Posted: 30 Jul 2008 at 10:40pm

Please consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm - find out why here .
 

NotInList.mdb

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.
 
Download
Access 97 (49 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/NotInList97.zip - uploads/5/NotInList97.zip
Access 2000 DAO (52 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/NotInList2k.zip - uploads/5/NotInList2k.zip



-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net