Just stop explicitely making it a local variable. If not otherwise specified, it'll be private when created by default. Let the value be set in the code that calls the report and the report will show the value fine.
>I knew it should be a way to pass a parameter into report, but I don't remember how. Could you please tell me? Suppose, in my report I have a title:
>lcCustomerName, where lcCustomerName should be a parameter set in run time, while executing REPORT FORM myReport TO PRINTER. How can I do that?
>
>
>Thanks in advance.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05