General information
Title:
Basic Option Group Question
I'm experimenting with my first option group and, although I thought I was
doing it according to the docs, it's not working right for me. The form has
a text box field and the option group with three options. The table
involved in the form has two fields: invoice# and action code (numeric).
I'm opening the file in Form.Load. The form is called with the invoice
number passed as a parameter. In Form.Init it looks for a record for the
invoice number. If it exists, it gets displayed; if it doesn't exist, a new
record is added. The action code can be 1, 2 or 3 and, for a new record,
it's 3. I have the action code as the control source for the option group.
What I was expecting to happen was that the form would display and that
either the first, second or third option would be selected depending on
whether the action code was 1, 2 or 3. What's happening is that all three
are selected. The Value property for each option is set to 0. If I click on
one of the options, the other two get unselected and the option group works
fine after that. Why are they all selected at first? Obviously I've
overlooked something but I can't figure out what it is.
Gary J. Sibio
Mr. Travel, Inc.
>>> Please Mr. Gates, can we have our computers back? <<<
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only