I have two command buttons, (cmd1 and cmd2) 5 reports, and 5 option buttons on a option group named
option1
option2
option3
option4
option5
If the user selects option1 and press cmd1 I need to preview report1 if the user selects option1 and cmd2 I have to print report1. The same for rest of the options. How do I code this or reference the option buttons?
option1
option2
option3
option4
option5
If the user selects option1 and press cmd1 I need to preview report1 if the user selects option1 and cmd2 I have to print report1. The same for rest of the options. How do I code this or reference the option buttons?