Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource of an OptionGroup
Message
From
24/06/2001 09:31:19
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00522872
Message ID:
00522879
Views:
13
Glenn,

It's a character field.

>What is the data type of the control source. Is it logical, numeric, or character?
>
>You may need to "prep" the data after the append blank like this
>
>
>
>ThisForm.nTransId = -1
>REQUERY("MyView")
>append blank
>replace optiongroupfield with .f. or
>replace optiongroupfield with 0 or
>replace optiongroupfield with [YES]
>thisform.refresh()
>
>
>
>>I have a form that is based on a p-view. The textboxes controlsource is the field in the view. I have one optiongroup with two options. when I add a new record by:
>>
>>ThisForm.nTransId = -1
>>REQUERY("MyView")
>>APPEND BLANK IN MyView
>>ThisForm.Refresh
>>
>>
>>The optiongroup will only allow the first option to be selected...
>>
>>What am I missing?
>>
>>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform