>Hallo All,
> I have an option group (opgBlood) with 4 buttons. Now if I choose the third button 3 is save in the table. Is there a way I can change it such that when I choose the third button 8 is saved in the table instead of 3? I would be grateful for all the help.
>
>Thanks.
>
>Rich.
Rich,
No direct way I know of. Some probabilities :
1) You might have n buttons and you make some visible=.f. (moving 8th button in 3rd position and setting 3rd invisible sets 8 when 3rd clicked)
2) You might use an indirect way. Have no controlsource for optiongroup but say you preserve controlsource in some other control. In valid of optiongroup set other control's value and when other control changes (ie: skip, refresh) set opiongroup's value.
3) You might use a listbox instead.
Cetin