Hi there, I need to export a report to RTF format but can't figure where to put the "where" condition. Here's my code:
When I print the report I use this code:
Is this even possible? If not, any other options? Thanks in advance.
Code:
DoCmd.OutputTo acOutputReport, "rptMaterialsLoad", acFormatRTF, "c:\xfer\Report.rtf", True
When I print the report I use this code:
Code:
DoCmd.OpenReport ("rptMaterialsLoad"), acViewNormal, wherecondition:=strPlan
Is this even possible? If not, any other options? Thanks in advance.