Refer to option group in code

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
 
P

PC Datasheet

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
 
Top