I tried to post this in the forms section and in the general questions but have not received any feedback to help me. Therefore, I am trying to post in reports section.
I have several reports that use a startdate, enddate and a market field from a form. In my report I refer to the form to describe what is on the report - here is an example:
=IIf(IsNull([Forms]![frmreport]![market]),"all markets",[Forms]![frmreport]![market] & " " & "market only") & " " & "- dates between" & " " & [Forms]![frmreport]![startdate] & " " & "and" & " " & [Forms]![frmreport]![enddate]
For some reason, I occasionally get an error that states:
Microsoft Access can't find the field 'forms' referred to in your expression
Like I said, it only happens occasionally - when it does, I must run a different report first and then I can run the report that gives me the problem.
any help would be greatly appreciated!!!
Thanks!!!
I have several reports that use a startdate, enddate and a market field from a form. In my report I refer to the form to describe what is on the report - here is an example:
=IIf(IsNull([Forms]![frmreport]![market]),"all markets",[Forms]![frmreport]![market] & " " & "market only") & " " & "- dates between" & " " & [Forms]![frmreport]![startdate] & " " & "and" & " " & [Forms]![frmreport]![enddate]
For some reason, I occasionally get an error that states:
Microsoft Access can't find the field 'forms' referred to in your expression
Like I said, it only happens occasionally - when it does, I must run a different report first and then I can run the report that gives me the problem.
any help would be greatly appreciated!!!
Thanks!!!