The CustomerFilter macro should have not empty value, so will be evaluated to True:
[code]ADQuery1.MacroByName('CustomerFilter').AsRaw := 'x';[/code]
And empty value for False:
[code]ADQuery1.MacroByName('CustomerFilter').AsRaw := '';[/code]
↧