Print Page | Close Window

ListboxSubform.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=329
Printed Date: 29 Mar 2024 at 5:54am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: ListboxSubform.mdb (intermediate)
Posted By: Roger Carlson
Subject: ListboxSubform.mdb (intermediate)
Date Posted: 01 Aug 2008 at 12:53am

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

ListboxSubform.mdb

This sample illustrates use a list box to simulate a simple subform. The user can either double-click the listbox or click the edit button. Then a popup form appears which allows him to select multiple values. These values are written to a separate table which hold the values in a One-to-Many relationship with the main table.

The important code is behind the form "frmVacuumForcepsIndications". The query "xxxqrySelectedIndicators" is not used directly, but is the basis for the embedded SQL in the Form_Activate event of "frmVacuumForcepsIndications". I left it in to show it graphically.
 
Download
Access 97 (32 KB):
http://www.rogersaccesslibrary.com/forum/uploads/5/ListBoxSubform97.zip - uploads/5/ListBoxSubform97.zip
Access 2000 DAO (47 KB): http://www.rogersaccesslibrary.com/forum/uploads/5/ListBoxSubform2k.zip - uploads/5/ListBoxSubform2k.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