ravi99
18th February 2009, 17:28
I want to change the description of the report dynamically. Is there a variable to use for this? Please let me know. I appreciate your help.

Thanks
Ravi

zardoz
19th February 2009, 09:11
The report name is a read-only variable. Why don't use a string variable in the session script and send it to the report instead?

ravi99
19th February 2009, 16:36
what is the variable name for description of report (not the report name itself)? I want to change the description of the report dynamically.

I appreciate if you can send me some code for reference if you have.

Thanks
Ravi

litrax
19th February 2009, 20:49
1. I'm not sure of the code.
I only had to do with the Report name in the past.
But to find out the report intern variables you can try this:


Compile the report with debugger
Start Report
Let the debugger stop at the header layout (or after it)
Type L or l
Type in y to scroll throug the variables

For more debugger options please refer to:
Debugger Commands (http://www.baanboard.com/programmers_manual_baanerp_help_debugger_debugger_commands)

Or for even more programmers knowledge:
Programmer's Manual
(http://www.baanboard.com/programmers_manual_baanerp)
2. A simpler way is to make your own normal report field with your own variable in the header layout with let's say string 60 and change the content of this field variable...