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

Field Properties

edited April 2007 in End User
I want a variable field property to toggle from True to False for a given
condition in an IF staement. What is the syntax for setting Transparent to
False for a specific condition, i.e., If Table['Field1'] = 'C' Then (set
Transparent to False).

Comments

  • edited April 2007
    Hi John.

    The part (set Transparent to False) should be set to the component to which
    is attached the field.

    i.e.: if Table['Field1'] = 'C' then DBText1.Transparent := False;

    NOTE: This code should be used on the OnPrint event of the component.

    Regards,

    Fabio.

This discussion has been closed.