Roger's Access Library Homepage
Forum Home Forum Home > Roger's Access Library > Roger's Download Samples
  New Posts New Posts RSS Feed - ListBoxSetTableValue.mdb (intermediate)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login


Please consider donating $1 per sample downloaded, (find out why here)

ListBoxSetTableValue.mdb (intermediate)

 Post Reply Post Reply
Author
Message
Roger Carlson View Drop Down
Microsoft MVP
Microsoft MVP


Joined: 20 Feb 2008
Status: Offline
Points: 249
Post Options Post Options   Thanks (0) Thanks(0)   Quote Roger Carlson Quote  Post ReplyReply Direct Link To This Post Topic: ListBoxSetTableValue.mdb (intermediate)
    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.
 
Download
Access 97 (24 KB):
uploads/5/ListBoxSetTableValue97.zip
Access 2000 DAO (32 KB): uploads/5/ListBoxSetTableValue2k.zip

Consider donating $1 per sample downloaded, find out why here.<
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down