I assume you mean RAP global variables/constants. You could provide these values from the report to you Delphi code via a pass through function that you would call from RAP to which sets variables in your Delphi code. To set the value of the RAP global constant, use another pass through function to set it using RAP's global OnCreate event to get the value from your Delphi code.
It does not appear that you can set the value of a Global Constant using a RAP Pass-Thru function however you can set a Global Variable.
I need the ability to get the value of a Global Variable (or Global Constant) in a report from Delphi code. Is it possible to access the Global Variables in a report from Delphi code.
Comments
values from the report to you Delphi code via a pass through function that
you would call from RAP to which sets variables in your Delphi code. To set
the value of the RAP global constant, use another pass through function to
set it using RAP's global OnCreate event to get the value from your Delphi
code.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
via the TppReport object or something similiar?
Thanks,
Scott.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
RAP Pass-Thru function however you can set a Global Variable.
I need the ability to get the value of a Global Variable (or Global
Constant) in a report from Delphi code. Is it possible to access the Global
Variables in a report from Delphi code.
Thanks,
Scott Rowat
which sets a Delphi variable's value to the RAP global variable value.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com