Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic Option Group Question
Message
De
20/02/1998 14:24:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Basic Option Group Question
Divers
Thread ID:
00080176
Message ID:
00080176
Vues:
65
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? <<<
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform