Refer to option group in code

  • Thread starter Thread starter Mike Revis
  • Start date Start date
M

Mike Revis

Hi group,
Access 2000. win xp pro.

When writing code for an event do I refer to the option group
(grpPackageStyle) or the control source (PackageStyle)?

Thanks as always
Mike
 
The wizard will assign sequential numbers from 1 to whatever to the labels
in your option group. You can then use a Select Case procedure to run code
depending on which option you select:

Select Case grpPackageStyle
Case 1
<Do This>
Case 2
<Do That.
Case 3
<Do Whatever>
End Select
 
Back
Top