Variable Returned to Delphi Code is Null
I'm using Delphi XE8 and Fastreports FMX. In my script, I placed a showmessage so I know the variable is being assigned properly but when I try to access the variable from the delphi code it is always null. I tried accessing the variable in all these events but the result is always null - onenddoc, ongetvalue, onprintpage, onprintreport.
Where can I access the variable and retain the value set in the script?
thank you
Where can I access the variable and retain the value set in the script?
thank you
Comments
Solved it myself - need to reference report.script.variables not report.variables to get the value from the script