>>Is it possible that the data type of the field you are binding the control to is not numeric?
>>This would cause the behavior you are describing.
>
>I am making a form in which I ask the sex of teh person and I think
>i should use a option button :
>0 Masculine
>0 Femenine
>
>and the result is kept in a field of a table (Is a caracter M or F).
>well the value is kept but the bitton disappeared!!!
>And if the value is not kept the option selected doesn´t disappeared?
>
>I don´t know why
>thanks!!!
What do you mean the value is kept?
As far as I know, you cannot set the recordsource of an optiongroup to a character field, because the value of an optiongroup conrol can only be set to numeric values. If you want to have an option group to control a character field pout something like this in the interactive change event of the optiongroup:
if this.value = 0 then
replace table.sex with "M"
else
replace table.sex with "F"
endif
and unbind the control from the field.
HTH
Erik Moore
Clientelligence