Hans L


I am getting back into VFP after some time off, but I thought I knew that if I create a field iGender (integer) and I created an option group with option buttons Male, Female, and Unknown, and I set the ControlSource of the opg to iGender and the value of the opg to 3, "Unknown" would be filled when I opened the form in which it was located. However, that does not happen for me now. What am I doing wrong

Hans L



Re: Option group woes

Naomi Nosonovsky


I think it should show value from the iGender field, e.g. if in the first record you have 1, it will show Male.




Re: Option group woes

Hans L

Yes, you are right, Naomi. I remember trying that once, but it did not work, but I probably did not do it right that time, so I will try again.

Thanks,

Hans L





Re: Option group woes

Hans L

Naomi, just wanted to let you know that I got it to work finally. Thank you so much!

Hans L