CharlieT302
Instructor
Hi Folks,
I am having a problem retrieving data from an SQL server database. The data was originally and Access database. The front-end uses Access (it has to stay that way) The back-end is an Access database converted to SQL.
I have a query that displays records only if two or more contain the same client number. My statement is below.
In (SELECT [CLIENT_NUMBER] FROM [Qry_Report_ODA_Waiting_List_Names_ON] As Tmp GROUP BY [CLIENT_NUMBER] HAVING Count(*)>1 )
Here is my question:
Apparently there is something about this statement that the SQL server doesn't like. Is there another way of writing this that is compatible?
Thanks
I am having a problem retrieving data from an SQL server database. The data was originally and Access database. The front-end uses Access (it has to stay that way) The back-end is an Access database converted to SQL.
I have a query that displays records only if two or more contain the same client number. My statement is below.
In (SELECT [CLIENT_NUMBER] FROM [Qry_Report_ODA_Waiting_List_Names_ON] As Tmp GROUP BY [CLIENT_NUMBER] HAVING Count(*)>1 )
Here is my question:
Apparently there is something about this statement that the SQL server doesn't like. Is there another way of writing this that is compatible?
Thanks