Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Thanks for your imput John. I am changinf some option groups to dropdowns when it makes sense.
Alex
>Hi Alex,
>
>Here is another possible way to handle this situation that 'might' work for you, depending on the circumstances.
>
>Set the control source for the option group itself to the field holding the data. Set the label of each option button to the value to be stored.
>
>Create a separate stand alone label with the more descriptive term and place it over the top of the option buttons actual label hiding it in the background.
>
>You won't have to write any code for this to work.
>HTH
>John
>
>>In employee table there is a status field, one byte long. In data entry form there is an OptionGroup that shows full description of each status.
>>
>>In FPD I defined the list of options in the radio button and had a memory variable to hold option selected. A different variable held the value that had come from the table and that later would be REPLACEd there. Conversions were carried out in a procedure that is run each time the record changes and in the valid of the radio button.
>>
>>What is the best way to handle this in VFP? It seems I kind of want to "bind" data to an element of a two column manual list while showing the other column.
Précédent
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