View Full Version : Option group


arage
02-22-2002, 12:24 PM
Option group
If you have an option group with two option buttons bound to a field with Yes/No data type, with a Yes/No format, would this cause a problem? Because I did this and my form is not allowing me to click a choice in the option group. Please advise.

Alexandre
02-22-2002, 02:06 PM
It should not be a problem.

Use the option group wizard.

Alex

Pat Hartman
02-22-2002, 07:02 PM
You may need to use Integer as the data type not yes/no. The yes/no data type only allows the values 0 and -1. The option group is probably trying to store a 1 or a 2.

Alexandre
02-23-2002, 04:16 AM
Not contradicting Pat, just a complementary info: the wizard allows to choose the values that are associated with buttons, so that in your case you can choose -1 and 0. That is why I advised you to use it.

Alex

[This message has been edited by Alexandre (edited 02-23-2002).]

Pat Hartman
02-23-2002, 02:19 PM
I usually use a checkbox for a yes/no field rather than an option group so I haven't tried to use 0 and -1 as its values. If you say it works, I believe you http://www.access-programmers.co.uk/ubb/smile.gif