Hello all,
I am having a problem with a report and I have exhausted my resources.
I have a report that I am running that uses a text box value in a 'where' statement created from a macro. ""[PIR_number]=[Forms]![PIRMain_form]![PIR_Number]"" The report contains a sub-report that brings up values by related records. The report works just fine. The correct information is displayed for each record.
My problem is this...Every time I run the report from a 'command button', a popup menu appears that wants me to 'enter a parameter value'. The field that it is asking for comes from my sub-report. I have looked at all queries and SQL statements that are related to the report and I can't figure out why it is asking me for this value. Does anyone have any ideas?
Thanks,
Keith Bledsoe
I am having a problem with a report and I have exhausted my resources.
I have a report that I am running that uses a text box value in a 'where' statement created from a macro. ""[PIR_number]=[Forms]![PIRMain_form]![PIR_Number]"" The report contains a sub-report that brings up values by related records. The report works just fine. The correct information is displayed for each record.
My problem is this...Every time I run the report from a 'command button', a popup menu appears that wants me to 'enter a parameter value'. The field that it is asking for comes from my sub-report. I have looked at all queries and SQL statements that are related to the report and I can't figure out why it is asking me for this value. Does anyone have any ideas?
Thanks,
Keith Bledsoe