C
colesterg
Is there a way to assign a value of 1/0 for yes/no, respectively?
David F Cox said:If you tell us why you are more likely to learn something.
If you are trying to add up "Yes" answers
-sum([my_yn])
% of yes answers:
- avg(my_yn)*100
Al Campagna said:Cole,
Not sure why that would be necessary but...
Normally a Boolean True/False or Yes/No field yields a -1 for True and 0
for False.
Abs(YourBooleanField) would yield either1 or 0.
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
colesterg said:Well, I want the combo box to say yes/no so I wont confuse anyone, but I want
it to store this data numerically, not as a yes/no.
David F Cox said:If you tell us why you are more likely to learn something.
If you are trying to add up "Yes" answers
-sum([my_yn])
% of yes answers:
- avg(my_yn)*100
Al Campagna said:Cole,
Not sure why that would be necessary but...
Normally a Boolean True/False or Yes/No field yields a -1 for True and 0
for False.
Abs(YourBooleanField) would yield either1 or 0.
--
hth
Al Campagna
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Is there a way to assign a value of 1/0 for yes/no, respectively?
Well, I want the combo box to say yes/no so I wont confuse anyone, but I want
it to store this data numerically, not as a yes/no.
John Vinson said:Use a two-column combo box, with the visible column containing "Yes"
and "No", and the bound column containing 1 and 0.
John W. Vinson[MVP]