S
Steve P.
I am using Access97 to maintain a database that is ultimately used in
another application so I am under some constraints about data types in
certain fields.
On my frmMain I have sfmProducts that has qryProducts as its record source.
One of the fields is named "Hide" which is a 1 character long text field
that must contain a value of "Y" or "N". "Y" means that the product will be
hidden in the other app and "N" means that it will be shown.
On my subform I would like to use a checkbox to set the value of "Hide" but
is it possible to make a checkbox work with values other than 0 and -1?
Also, I would really like to reverse the logic as it's not very intuitive to
ask "check here if you don't want to show this product". So what I really
need is if chkSelected = True then "Hide" = N, else field "Hide" = "Y".
Thanks in advance for your help.
another application so I am under some constraints about data types in
certain fields.
On my frmMain I have sfmProducts that has qryProducts as its record source.
One of the fields is named "Hide" which is a 1 character long text field
that must contain a value of "Y" or "N". "Y" means that the product will be
hidden in the other app and "N" means that it will be shown.
On my subform I would like to use a checkbox to set the value of "Hide" but
is it possible to make a checkbox work with values other than 0 and -1?
Also, I would really like to reverse the logic as it's not very intuitive to
ask "check here if you don't want to show this product". So what I really
need is if chkSelected = True then "Hide" = N, else field "Hide" = "Y".
Thanks in advance for your help.