how to name option group

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I used the wizard in ACCESS 2003 to create an option group, but it never gave
me the chance to name it. It did assign values to the options, but I don't
even see it as an object in the dropdown list to select the option group to
set it's properties.
If you can help, I'd sure appreciate it.

G
 
In form design view, the option group is bounded by what looks like a
rectange. Right-click on its border line, and choose Properties.
 
When I do that, the name already says "frame16". So if I just rename it
optXXX, it's good?
 
Sure. That's the idea.

If you want to change the name of the field it is bound to, change the
Control Source property as well.

If you have already added event procedures, you will have code that looks
like this:
Private Sub Frame16_AfterUpdate()
and you need to change the name in your code window, and make sure the
AfterUpdate proeprty still says:
[Event Procedure]
 
Thanks Allen! Sure appreciate the assistance.

G

Allen Browne said:
Sure. That's the idea.

If you want to change the name of the field it is bound to, change the
Control Source property as well.

If you have already added event procedures, you will have code that looks
like this:
Private Sub Frame16_AfterUpdate()
and you need to change the name in your code window, and make sure the
AfterUpdate proeprty still says:
[Event Procedure]

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

G said:
When I do that, the name already says "frame16". So if I just rename it
optXXX, it's good?
 
Back
Top