ListBoxSetTableValue.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 2:29am |
Please consider donating $1 per sample downloaded, find out why here.
ListBoxSetTableValue.mdb This sample illustrates use a list box to update a "Selected" field in a table and also read which items are selected in the table and set those list box items to True.
There is a main form which has a list box which only shows the True items. If you double-click the listbox, another form appears with a list box which holds all the values. In the OnActivate event of this form, there is code which find which items in the table have the BolSelected field set to True, and sets those true in the list box. On saving and exiting, the values in the table are set to match those in the list box. The important code is in the form: sfrmVacuumForcepsIndications. |
|
|
|
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 |