Access db and binding a group of radio buttons in vb

  • Thread starter Thread starter Savvas
  • Start date Start date
S

Savvas

Hi

I have two radio buttons of boolean type in a panel. When adding data
to an access database or showing them via a query i have no problem.
However, when i want to edit the data (they are in a grid) the value of
the radio button is always assigned to true. No changes are made in the
database when i want to change the value of the radio button. How do i
make this data binding?

Thanks
Savvas
 
Savas,

Do you have for those two radiobuttons two boolean values or one.

I have the idea that you have one, and that can only be binded to one.

Otherwise show us the code that you use to bind.

FYI did you know that there is a special VBNet language newsgroup.

microsoft.public.dotnet.languages.vb

I hope this helps,

Cor
 
Dear Cor

An analogy of what i need is the following:
Say e.g. you have a groub box "Sex" and two radio buttons "Male" and
"Female".
When you recall the form to edit the information of the person to
change from male to female :) what is the binding i have to make. From
the properties i cannot do data binding cause there are two radio
buttons.

Thanks again
 
Back
Top