ListBoxSetTableValue.mdb (intermediate)

Please consider donating $1 per sample downloaded, find out why here
Access 97 (24 KB)

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.




Need Winzip?

Return to Main Page