QueryRecCount and Distinct
QueryRecCount and Distinct
I am using Delphi 2007 and SDAC Professional Version 6.0.2. TMSQuery with FetchAll=False and QueryRecCount=True is giving incorrect recordcount when there is 'Distinct' in the sql statement for the query. It doesn't seem to take 'Distinct' in account for recordcount. What is the solution?
-
AndreyZ
QueryRecCount and Union
QueryRecCount also throws error when there is 'UNION' in the sql statement.
-
AndreyZ