Hi Guys,
Table1 contains the following fields:
Name CompanyID SignUpDate
Joined by CompanyID
Table two contains the following fields:
CompID AmountSold1 AmountSold2 DateSold
I am trying to calculate the amount spent the previous year by quarters based on the SignUpDate.
SELECT TABLE1.COMPID, Sum(TABLE2!SOLD1+TABLE2!SOLD2) AS [Amount Sold], TABLE1.NAME, TABLE1.SIGNUPDATE
FROM TABLE1 INNER JOIN TABLE2 ON TABLE1.NAME = TABLE2.COMPID
GROUP BY TABLE1.COMPID, TABLE2.NAME, TABLE1.SIGNUPDATE;
I have tried a dateserial but didn't seem to work. Do you have any thoughts?
Table1 contains the following fields:
Name CompanyID SignUpDate
Joined by CompanyID
Table two contains the following fields:
CompID AmountSold1 AmountSold2 DateSold
I am trying to calculate the amount spent the previous year by quarters based on the SignUpDate.
SELECT TABLE1.COMPID, Sum(TABLE2!SOLD1+TABLE2!SOLD2) AS [Amount Sold], TABLE1.NAME, TABLE1.SIGNUPDATE
FROM TABLE1 INNER JOIN TABLE2 ON TABLE1.NAME = TABLE2.COMPID
GROUP BY TABLE1.COMPID, TABLE2.NAME, TABLE1.SIGNUPDATE;
I have tried a dateserial but didn't seem to work. Do you have any thoughts?