Information générale
Catégorie:
Codage, syntaxe et commandes
>I have aready done this, but this is not my problem. Here is what I need: I open my form. Initial code runs to select the proper option button. At this time to view report button can be selected or the option can be changed by the user and then the view report button can be clicked. Now without writing code for each option button and a variable to hold the caption value, how can i analize the optiongroup to find the caption value of selected option?
Are you talking about the actual Caption of the selected button?
THISFORM.optiongroup.option1.CAPTION?
If so I would do exactly what Erik said. I don't know of any other method where from the report you could tell what was selected in the optiongroup.
Mike
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement