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

How can I pritn out the Date Range in the Header/Title band

edited June 2004 in End User
I created a custom field in Designer to request a date range from the user,
I need to be able to print the selected date range on the header as a label.
Without being able to print the date range the reports is useless.



Thanks

Comments

  • edited June 2004


    For an example see
    RBuilder\Demos\AutoSearch\BuildDescriptionOfAutoSearchSetttings.


    --


    Thanks for supporting ReportBuilder! Please vote for ReportBuilder in the
    Delphi Informant Readers Choice awards!

    http://www.delphizine.com/ballot2004/


    Cheers,

    Lisa Fuller
    Digital Metaphors Corporation
    sales@digital-metaphors.com


  • edited June 2004
    Thank you , Lisa,

    That what exactly I am looking for.
    But I did it in as follows RAP because we don't want release the whole
    product right now..

    GlobalConst
    gcKnownValue= 'Show all data Where the ' ;

    procedure LablexOnPrint;
    var
    HoldValue : string
    begin
    if Report.AutoSearchFieldCount > 0 then begin
    HoldValue := Report.AutoSearchDescription;
    Label8.Caption := copy(HoldValue , Length(gcKnownValue), 255); // I
    don't want to label say 'Show all data Where the '
    end
    else begin
    Label8.Visible := false;
    end;
    end;

    Cheers!!
    -Bhoj
    Tenmast

This discussion has been closed.