G
Guest
I have a combo box that displays a list of fields and I want to filter the
selection. No problem I hear you say, just put the criterion in the SQL
Statement : Query Builder in the particular Combo Box Properties. Should work
OK but I would like to do this based on a check Box if possible. I have set a
field in my Table with either a "0" or a "-1" as this is what the Check Box
Returns. Then I put the "FieldName" and the "tblTableName" in the SQL:Query
of the combo Box. Finaly, I enter "[Forms]![formname].[CheckBoxName] in the
Criterion. Does not work.
If I put either a 0 or a -1 in the Criterion field it works fine so there is
something wrong with the syntax of the Criterion that is not returning a 0 or
a -1 to the Criterion when the check box changes status.
Any Ideas?
Thanks RayC
selection. No problem I hear you say, just put the criterion in the SQL
Statement : Query Builder in the particular Combo Box Properties. Should work
OK but I would like to do this based on a check Box if possible. I have set a
field in my Table with either a "0" or a "-1" as this is what the Check Box
Returns. Then I put the "FieldName" and the "tblTableName" in the SQL:Query
of the combo Box. Finaly, I enter "[Forms]![formname].[CheckBoxName] in the
Criterion. Does not work.
If I put either a 0 or a -1 in the Criterion field it works fine so there is
something wrong with the syntax of the Criterion that is not returning a 0 or
a -1 to the Criterion when the check box changes status.
Any Ideas?
Thanks RayC