Used to check whether SQL statement returns rows.
property IsQuery: boolean;
After the TCustomDADataSet component is prepared, the IsQuery property returns True if SQL statement is a SELECT query.
Use the IsQuery property to check whether the SQL statement returns rows or not.
IsQuery is a read-only property. Reading IsQuery on unprepared dataset raises an exception.