On a form I have an option group with three choices:
Current Month
Last Month
Year to Date
I need the users choice to filter a date field in a query.
I tried ...
After Update:
If Me.Frame29 = 3 Then
Me.Text38 = "Year((Now()))"
And then in the query I had the criteria for the date field as ..
[Forms]![BuildAReport]![Text38]
When opening the query it displayed an error that started ...
"This expression is typed incorrectly, or is too complex ..."
Obviously, Help.
Thanks.
Current Month
Last Month
Year to Date
I need the users choice to filter a date field in a query.
I tried ...
After Update:
If Me.Frame29 = 3 Then
Me.Text38 = "Year((Now()))"
And then in the query I had the criteria for the date field as ..
[Forms]![BuildAReport]![Text38]
When opening the query it displayed an error that started ...
"This expression is typed incorrectly, or is too complex ..."
Obviously, Help.
Thanks.