kheekhay15
New member
- Local time
- Today, 11:08
- Joined
- Sep 21, 2012
- Messages
- 5
Hi,
I have a form with a subform based on a query. There are many fields in that query. On the form, there are certain criterias which when typed onto the box or selected from a combo box will update the query which in turn will update the subform. By the way, there is a "SEARCH" button that when pressed runs the command Me.[subformname].Requery.
My only problem now is the date. I have a field in my table named DateRecalled. I have two text boxes in my main form for the start date and end date. What code or criteria in my query do I need to put so that when I requery, it will filter all dates from the two text boxes for the dates.
In my query named qrybuilder, I put this as a criteria on the fields: Like "*" & [Forms]![frmQueryBuilder]![cboSex] & "*"
The [cboSex] changes depending on the field.
xxx.facebook.com/photo.php?fbid=4954018855274&set=a.1260047668303.4 0780.1443003309&type=1&relevant_count=1&ref=nf
Any ideas?
I have a form with a subform based on a query. There are many fields in that query. On the form, there are certain criterias which when typed onto the box or selected from a combo box will update the query which in turn will update the subform. By the way, there is a "SEARCH" button that when pressed runs the command Me.[subformname].Requery.
My only problem now is the date. I have a field in my table named DateRecalled. I have two text boxes in my main form for the start date and end date. What code or criteria in my query do I need to put so that when I requery, it will filter all dates from the two text boxes for the dates.
In my query named qrybuilder, I put this as a criteria on the fields: Like "*" & [Forms]![frmQueryBuilder]![cboSex] & "*"
The [cboSex] changes depending on the field.
xxx.facebook.com/photo.php?fbid=4954018855274&set=a.1260047668303.4 0780.1443003309&type=1&relevant_count=1&ref=nf
Any ideas?