I am having trouble with a query. I am trying to Avoid using a crosstabv query.
Here's what I am trying to do:
Past Due: IIf([Due Date]<Date(),[Balance],0)
1 Week: IIf([Due Date]>(Date()-1) And [Due Date]<([Due Date]+8),[Balance],0)
2 Week: IIf([Due Date]>(Date()+7) And [Due Date]<([Due Date]+15),[Balance],0)
The Past due works fine, but the 1 week and 2 week return all records?
Any help appreciated
Here's what I am trying to do:
Past Due: IIf([Due Date]<Date(),[Balance],0)
1 Week: IIf([Due Date]>(Date()-1) And [Due Date]<([Due Date]+8),[Balance],0)
2 Week: IIf([Due Date]>(Date()+7) And [Due Date]<([Due Date]+15),[Balance],0)
The Past due works fine, but the 1 week and 2 week return all records?
Any help appreciated