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

End user event trapping

Delphi Rio, latest RB, WINDOWS 10.

How can an end-user set the GRID tool "visible" property based upon the value of a DBTEXT? For example;

If DBTEXT.value = NULL then GRID.visible = false

Entirely in RB?

Steve Wagner
Instamation Systems Inc

Comments

  • edited February 2020
    Hi Steve,

    With the Enterprise or Server editions of ReportBuilder, an end-user can use RAP to accomplish this. I would suggest checking the value of the DB field directly using the FieldObjects property rather than the value of the DBText component.
    MyGrid.Visible := not(DataPipeline.FieldObjects['FieldName'].IsNull);
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.