ODAC

TDAConditions Class

Holds a collection of TDACondition objects.

For a list of all members of this type, see TDAConditions members.

Unit

DBAccess

Syntax

TDAConditions = class(TCollection);

Remarks

The given example code

UniTable1.Conditions.Add('1','JOB="MANAGER"');
UniTable1.Conditions.Add('2','SAL>2500');
UniTable1.Conditions.Enable;
UniTable1.Open;

will return the following SQL:

SELECT * FROM EMP
WHERE (JOB="MANAGER")
and
(SAL<2500)
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback