>I am trying to setup a OptionGroup that relates to logical field in the ControlSource. When I set the ControlSource to the logical field and run the form, I get the following error:"Error with 'Field Name' Value: Data type mismatch. Unbinding object." Can somebody help me setup the OptionGroup to accept a logical field.
Josepf, OptionGroup.value can be only of numeric type so you cannot bound logical field to it. But you can handle it in OptionGroup.InteractiveChange and replace the logical field value accordingly. Why you are not using checkbox for your logical field?
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison