Trying to understand how control arrays work in VB5 — I think that I am getting confused by trying to use Access97 syntax.
I have a control array called Sync1, and it has three Option Buttons with Index values of 0, 1, and 2. What I want to do is to call a function like this:
x = SomeFunction(sync1)
and I want it to pass a 0, 1, or 2 depending on which Option Button is selected.
How do I refer to the current value of the array? I am used to dropping option buttons into a frame in Access, and referring to the value of the frame. Does the same principle apply?? Or am overlooking something very obvious?
Thanks for your help