Hello All,
I have a search form that contains a subform. The subform is a result of a query.
Everything is working perfectly fine, but i want to add a checkbox that when checked, it will omit the records that contains the word "Complete"..
here's part of my code:
In the form, I have a text field called txt.UserName. If a user enters his/her username, the subform will populate all of the items associated under that username. (Wildcard can be used)
Now, how do I convert the above code to a check box from a textfield?
Let's say the checkbox is called "chkcomplete"?
Thank you,
I have a search form that contains a subform. The subform is a result of a query.
Everything is working perfectly fine, but i want to add a checkbox that when checked, it will omit the records that contains the word "Complete"..
here's part of my code:
In the form, I have a text field called txt.UserName. If a user enters his/her username, the subform will populate all of the items associated under that username. (Wildcard can be used)
Code:
If Me.txtUserName > "" Then
varWhere = varWhere & "[UserName] LIKE """ & Me.txtUserName & "*"" AND "
End If
Now, how do I convert the above code to a check box from a textfield?
Let's say the checkbox is called "chkcomplete"?
Thank you,