Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Passing vales to Reportbuilder

edited July 2001 in General
I am looking for a why to load a parameter or a messagedlg to get a
entered value to print on my report. This value would be different each time
I print so I need to enter it in manually. I would like to use a messagedlg
but a variable in my Form passing to Reportbuilder would work also. How can
I do this?
thanks, MIKE

Comments

  • edited July 2001
    Hi,

    the autosearch feature is what you are looking for.

    enjoy,
    Ron.

  • edited July 2001
    Hmmmm,
    I'm not sure that AutoSearch is what you looking for.
    Are you just trying to set the value of a Label.Caption?

    Jon

  • edited July 2001
    Hi,

    rereading the first post, I think you are right. Within my solution every report has
    properties for captions, .. . I set them after the report create. And the report
    prints them.

    enjoy,
    Ron.

  • edited July 2001
    If you want to make this specific for a single report, then you could use
    RAP and a pass through function to get a value from your Delphi code. Make
    the call in the GlobalOnCreate event in Rap. Just assign the text to a
    label's caption as suggested.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.