Hello,
I'm trying to set a variable to get the document name (report name).
Value := Report.PrinterSetup.DocumentName ; doesn;t show anything. Is there a system variable for this ?
Should I set it before running the report ? If so how is it assigned ?
Thanks
Andy
Comments
In my testing this worked as expected in RAP and Delphi. Are you sure DocumentName contains a value? Try implementing this in Delphi and tracing into the OnCalc to be sure.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I found that it is a system variable. It works fine now.