Master Databand Filter Syntax

Can someone please point me to the documentation where I can read about the filtering expression syntax? (I've searched tirelessly)

I'm using Delphi XE6.

In the report I want to filter the master databand by a certain field. [frxDBDataset1."status"] == "STATUS"

But no matter what I do, I get an error. I've tried many derivations of the expression.

I must do it here, not in the SQL

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:45PM
    fr5 usermanual chapter on script
    typical code for the obp event of the master data band
    ie
    C++Script:



    if (Copy(<Customers."Company">, 1, 1) == "A")

    MasterData1.Visible = true;

    else

    MasterData1.Visible = false;

Leave a Comment