Passing values from a Delphi application to report components in the RptDesigner.
Fellow Report Builder Staff and/or Developers,
I am currently using Delphi 6 and Report Builder 9.01.
I would like to pass values from a Delphi application to Report Builder
Pro report components in the RptDesigner.
The application loads a generic report template (previously built in
Report Builder Pro) from a MS SQL database to populate the report with
generic information. The RptDesigner uses this report when it is invoked
through the application code. I would like to update some of these
generic report values with more site specific values when the RptDesigner
displays.
Can you tell me if this can be accomplished? If so, can you tell me the
best way this can be done?
Thanks,
George Spicka
Software Developer - VISTA
Ticketmaster, Inc.
George.Spicka@Ticketmaster.com
--- posted by geoForum on http://delphi.newswhat.com
I am currently using Delphi 6 and Report Builder 9.01.
I would like to pass values from a Delphi application to Report Builder
Pro report components in the RptDesigner.
The application loads a generic report template (previously built in
Report Builder Pro) from a MS SQL database to populate the report with
generic information. The RptDesigner uses this report when it is invoked
through the application code. I would like to update some of these
generic report values with more site specific values when the RptDesigner
displays.
Can you tell me if this can be accomplished? If so, can you tell me the
best way this can be done?
Thanks,
George Spicka
Software Developer - VISTA
Ticketmaster, Inc.
George.Spicka@Ticketmaster.com
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
Take a look at Report Parameters. (TppReport.Parameters topic in the RB
help). This allows you to create and assign a parameter in Delphi that can
be accessed inside the report via RAP. Below is a simple example.
http://www.digital-metaphors.com/tips/SimpleParameters.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com