Hi, Plz note, My VBA is blocked by IT for security reason (Cybersecurity).
I can use only Expression builder, Macros, Queries, Tables, Forms and Reports only.
------------------------------------------------
I want to make query creteria between two dates based on txtboxes in form, but the criteria is not working properly if I add date in [txtFrom]
I did this but it does not filter the from
Like "*" & [Forms]![MeetF]![txtFrom] & "*" And Like "*" & [Forms]![MeetF]![txtTo] & "*"
Between Like "*" & [Forms]![MeetF]![txtFrom] & "*" And Like "*" & [Forms]![MeetF]![txtTo] & "*"
Between "*" & [Forms]![MeetF]![txtFrom] & "*" And "*" & [Forms]![MeetF]![txtTo] & "*"
I did this it works, but entring data is mandatory
Between [Forms]![MeetF]![txtFrom] And [Forms]![MeetF]![txtTo]
I want all data to be visible, but search textbox by date is optional and not mandatory
Please help me
Sampel Attached
I can use only Expression builder, Macros, Queries, Tables, Forms and Reports only.
------------------------------------------------
I want to make query creteria between two dates based on txtboxes in form, but the criteria is not working properly if I add date in [txtFrom]
I did this but it does not filter the from
Like "*" & [Forms]![MeetF]![txtFrom] & "*" And Like "*" & [Forms]![MeetF]![txtTo] & "*"
Between Like "*" & [Forms]![MeetF]![txtFrom] & "*" And Like "*" & [Forms]![MeetF]![txtTo] & "*"
Between "*" & [Forms]![MeetF]![txtFrom] & "*" And "*" & [Forms]![MeetF]![txtTo] & "*"
I did this it works, but entring data is mandatory
Between [Forms]![MeetF]![txtFrom] And [Forms]![MeetF]![txtTo]
I want all data to be visible, but search textbox by date is optional and not mandatory
Please help me
Sampel Attached
Attachments
Last edited: