Access VBADiscuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Is anybody know how to set a checked listbox in access 97 application?
In VB, listbox has two styles, one is vbListBoxStandard, other is vbListboxcheckedbox. Is it possible we can do the something in access 97 application? Thanks.
Unfortunately no. But you can emulate VB6's checked style as follows:
1. Place a textbox in the detail section of a form.
2. Place a checkbox immediately to the right of the textbox.
3. Set the forms Default View to Continuos Forms.
4. Set the forms record source to a table of lookup values.
5. Use the check boxe's click event to communicate with controls on
the parent form using Me.Parent syntax.
quote:Originally posted by Skyblue
Is anybody know how to set a checked listbox in access 97 application?
In VB, listbox has two styles, one is vbListBoxStandard, other is vbListboxcheckedbox. Is it possible we can do the something in access 97 application? Thanks.