K
K. Georgiadis
I have created a simple parameter query in the QBE panel
and below is the SQL view generated automoatically by MS
Access:
SELECT BIGLIST.Company, BIGLIST.First_Name,
BIGLIST.Last_name, BIGLIST.Street_Address,
BIGLIST.City_State, BIGLIST.ZipCode,
DONATION_DTL.CheckDate, Sum(DONATION_DTL.Amount) AS
SumOfAmount, DONATION_DTL.Disposition
FROM BIGLIST INNER JOIN DONATION_DTL ON BIGLIST.Cust_id =
DONATION_DTL.Cust_id
GROUP BY BIGLIST.Company, BIGLIST.First_Name,
BIGLIST.Last_name, BIGLIST.Street_Address,
BIGLIST.City_State, BIGLIST.ZipCode,
DONATION_DTL.CheckDate, DONATION_DTL.Disposition
HAVING (((DONATION_DTL.CheckDate) Between [Enter Starting
Date] And [Enter Ending Date]) AND
((DONATION_DTL.Disposition) Like "*DD*" Or
(DONATION_DTL.Disposition)="DD"))
ORDER BY BIGLIST.Last_name, DONATION_DTL.Disposition;
The problem is that I have to enter the Starting and
Ending Dates TWICE before the query will run.
Are there any clues in the above SQL statements or any
other ideas why this might be happening?
I use Access 2002 and Windows XP. Thanks in advance (and
apologies for the long post).
and below is the SQL view generated automoatically by MS
Access:
SELECT BIGLIST.Company, BIGLIST.First_Name,
BIGLIST.Last_name, BIGLIST.Street_Address,
BIGLIST.City_State, BIGLIST.ZipCode,
DONATION_DTL.CheckDate, Sum(DONATION_DTL.Amount) AS
SumOfAmount, DONATION_DTL.Disposition
FROM BIGLIST INNER JOIN DONATION_DTL ON BIGLIST.Cust_id =
DONATION_DTL.Cust_id
GROUP BY BIGLIST.Company, BIGLIST.First_Name,
BIGLIST.Last_name, BIGLIST.Street_Address,
BIGLIST.City_State, BIGLIST.ZipCode,
DONATION_DTL.CheckDate, DONATION_DTL.Disposition
HAVING (((DONATION_DTL.CheckDate) Between [Enter Starting
Date] And [Enter Ending Date]) AND
((DONATION_DTL.Disposition) Like "*DD*" Or
(DONATION_DTL.Disposition)="DD"))
ORDER BY BIGLIST.Last_name, DONATION_DTL.Disposition;
The problem is that I have to enter the Starting and
Ending Dates TWICE before the query will run.
Are there any clues in the above SQL statements or any
other ideas why this might be happening?
I use Access 2002 and Windows XP. Thanks in advance (and
apologies for the long post).