wherecondition value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I now how to pass the wherecondition value to a report using
docmd.openreport, how do you retrieve that value from within the code of the
report once it is open.
I want to retrive the value so that I can add it to the report title.

I was using the OpenArgs available within Access 2003, but I have to rebuild
for a user running Access 2000 where the OpenArgs is not available.
 
You can reference the where clause in the report by referencing the Report's
Filter property.
Try create a text box in your report with a control source of:
=[Filter]
 
Back
Top