Hello all,
I have seen similar post but none seem to answer my issue. I have a table tblDateGroups, with two field, [Group] (like This Week, Next Week, Last Month, etc) and
I have seen similar post but none seem to answer my issue. I have a table tblDateGroups, with two field, [Group] (like This Week, Next Week, Last Month, etc) and
Code:
that holds the code for criteria for each group in a query. I know the code is fine (like next week = Between Date()-Weekday(Date())+8 and Date()-Weekday(Date())+14 ) because I tested before putting in the table.
On my form I have a combo box that list all the [Group] and i hidden textbox that looks up the code based on the cbx after update...all that is good.
However, when i try to requery the report the criteria is not working. I am simply using the date criteria to read the hidden text box with the code string. Forms!frmMainHome!subaWelcome.Form!txtCodeForQuery.
the error code is "This expression is typed incorrectly, or it is too complex to be evaluated. For example, a numeric expression may contain too many complicated elements. Try simplifying the expression by assigning parts of the expression to variables."
I would appreciate any help on what i am missing here.