Print Page | Close Window

"Other"Problem.mdb (advanced)

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=304
Printed Date: 28 Mar 2024 at 1:29pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: "Other"Problem.mdb (advanced)
Posted By: Roger Carlson
Subject: "Other"Problem.mdb (advanced)
Date Posted: 29 Jul 2008 at 10:57pm

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

"Other"Problem.mdb

This example shows one method of handling the situation where the user wants a combo box to pick from, but also wants to have an "Other" category where they can add free-text qualifying the "Other".

The Problem: They wanted a pick list to choose Assisted Delivery Indications and yet where they could also input "Other" information with the capablity to add free text information. Allowing them to add to the list is not acceptable.

The Solution: Add another field called "OtherAsstDelIndDescription" to hold the free text information. Add another text box on top of the combo which shows both fields concatenated. When "Other:" is chosen in the combo, another form: "frmOtherDescriptionInput" opens which allows you to enter the other additional information. Double-clicking the text box on top of the combo also launches the OtherDescriptionInput form. When something other than "Other" is chosen in the combo, the "OtherAsstDelIndDescription" field is set to null.

frmOtherDescriptionInput can be used with all combos where you want an "Other" choice, because the RecordSource for the form is send via the OpenArgs when the form is called.

Download
Access 97 (30 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/OtherProblem97.zip - uploads/5/OtherProblem97.zip
Access 2000 (33 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/OtherProblem2k.zip - uploads/5/OtherProblem2k.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