Used to determine if the macro should be expanded.
property Active: boolean default True;
When set to True, the macro will be expanded, otherwise macro definition is replaced by null string. You can use the Active property to modify the SQL property.
The default value is True.
PgQuery.SQL.Text := 'SELECT * FROM Dept WHERE DeptNo > 20 &Cond1'; PgQuery.Macros[0].Value := 'and DName is NULL'; PgQuery.Macros[0].Active:= False;