> My recollection from running the Database Explorer and doing a query in the > SQL window, is that literal dates need to be in quotes. Does this apply to > your situation? > This is the SQL string I tested with in Database Desktop and it works fine SELECT SH.Terminal, Sum(SH.Invoice) AS TotalSale, SH.SaleType FROM SaleHeader.db SH WHERE (SH.SaleType = 1) AND (SH.SaleDate BETWEEN "06/16/99" AND "06/16/99") GROUP BY Sh.Terminal, SH.SaleType ORDER BY SH.Terminal but as soon as I use it in a TSQL component it doesn't seem to like it. Making sure dates are in mm/dd/yy format. -- Tony Sinclair Christchurch New Zealand "I like deadlines. I especially like the sound they make as they go wizzing by." --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
- [DUG]: InstallShield Installation of Delphi 3 App McKenzie, Paul
- Re: [DUG]: InstallShield Installation of Delp... Aaron Scott-Boddendijk
- RE: [DUG]: InstallShield Installation of Delp... Carl Reynolds
- RE: [DUG]: InstallShield Installation of Delp... McKenzie, Paul
- RE: [DUG]: InstallShield Installation of Delp... Carl Reynolds
- [DUG]: Paradox Date Format Trouble Tony Sinclair
- RE: [DUG]: Paradox Date Format Troubl... Patrick Dunford
- Re: [DUG]: Paradox Date Format Tr... Tony Sinclair
- Re: [DUG]: Paradox Date Form... Kerry Sainsbury
- RE: [DUG]: Paradox Date Form... Max Renshaw-Fox
- RE: [DUG]: Paradox Date Format Troubl... Max Renshaw-Fox
- RE: [DUG]: InstallShield Installation of Delp... McKenzie, Paul
- FW: [DUG]: InstallShield Installation of Delp... McKenzie, Paul
- RE: [DUG]: InstallShield Installation of Delp... Cooke, Andrew
- RE: [DUG]: InstallShield Installation of Delp... McKenzie, Paul
- Re: [DUG]: InstallShield Installation of ... Aaron Scott-Boddendijk