Hi, can anyone explain why i am getting duplicate date from the following sql?
SELECT [Scout Details].Scout, Term.Term, IIf([Subs Paid]![Date] Between [Term]![Start] And [Term]![End],"Paid","Owes") AS Status
FROM [Subs Paid], Term, [Scout Details]
WHERE (((Term.Term)>"3 - 2011"));
Basically i have a table giving the start date and end date of each term. i have another table showing who has paid the membership fee (subs) and the date they paid it. what i want to do is see who has paid their fees between the start and end date of each term, and who hasn't.
Cheers
Richard
SELECT [Scout Details].Scout, Term.Term, IIf([Subs Paid]![Date] Between [Term]![Start] And [Term]![End],"Paid","Owes") AS Status
FROM [Subs Paid], Term, [Scout Details]
WHERE (((Term.Term)>"3 - 2011"));
Basically i have a table giving the start date and end date of each term. i have another table showing who has paid the membership fee (subs) and the date they paid it. what i want to do is see who has paid their fees between the start and end date of each term, and who hasn't.
Cheers
Richard