ListboxSubform.mdb (intermediate) |
Post Reply |
Author | |
Roger Carlson
Microsoft MVP Joined: 20 Feb 2008 Status: Offline Points: 261 |
Post Options
Thanks(0)
Posted: 01 Aug 2008 at 12:53am |
Please consider donating $1 per sample downloaded, 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.
|
|
|
|
Sponsored Links | Want a good read? Try The Summer of His Life (available on Amazon!) |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |