ODAC

TDAScript.Macros Property

Used to change SQL script text in design- or run-time easily.

Class

TDAScript

Syntax

property Macros: TMacros stored False;

Remarks

With the help of macros you can easily change SQL script text in design- or run-time. Macros extend abilities of parameters and allow changing conditions in the WHERE clause or sort order in the ORDER BY clause. You just insert &MacroName in a SQL query text and change value of macro by the Macro property editor in design-time or the MacroByName function in run-time. In time of opening query macro is replaced by its value.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback