Referencing the DB fields

Top  Previous  Next

Just as with variables, angle brackets should be used when referencing DB fields in a report:




if <Table1."Field1"> = Null then...


C++ Script:


if (<Table1."Field1"> == Null) { ... }


Alternatively the “Get” function can be used for accessing DB fields (in fact, this function is used implicitly by FastReport when calculating expressions enclosed in angle brackets).