Click to See Complete Forum and Search --> : query does'nt work in VB


sriky
October 5th, 1999, 02:22 PM
The following query does'nt work in VB for an Access database. Any alternatives? Please...



SELECT DISTINCTROW Format$([CMLAP100].[TIMESTAMP], 'mm-dd-yyyy') as [TIMESTAMP], Sum([CMLAP100].[ABORT]) as ABORT, Sum([CMLAP100].[JAMCNT]) as JAMCNT, Count(*) as [Count Of CMLAP100] From CMLAP100 GROUP BY Format$([CMLAP100].[TIMESTAMP], 'mm-dd-yyyy')

Michael Nattfalk
October 11th, 1999, 07:57 PM
Hi.

Have you tried changing the single-quotation marks('), in the format expressions, to double-quotation marks(")?

regards,
Michael Nattfalk