Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Groups
Message
From
26/07/2001 08:05:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/07/2001 07:23:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00535594
Message ID:
00535604
Views:
10
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform