View Full Version : Option group question


Srubin
10-08-2001, 08:43 AM
I have a main form that contains an option box that has eight options. There are 9 page tabs that are subforms within this main form. The options are labled to correspond to the 9 page tabs in the subform.
My goal is to allow the user to select one of the options and the corresponding page be visible (on top of the others).
When the user selects the option this information needs to be checked in the corresponding table to be counted for a sum. Once the specific option is selected I cannot select a different option.
If more detail or information is needed please let me know.

Rich
10-08-2001, 01:52 PM
OK assume pages are numbered 1,2,3 etc, set the first option button on click event to
Me.Page1.Index=0, next button Me.Page2.Index=0 etc, remember the first page is always indexed as 0, since you don't want to return to the first page just close the form. When you open the form again your first constructed tabbed page will appear first.Once you have it working correctly then you can set the tab property to none preventing users from gaining access by using the tabs.
HTH

Srubin
10-09-2001, 07:01 AM
When I select the first option button and check the properties I have no option of "on click". If I select the page tab there is one. I need to enter the coding on the option button, correct?