I had sent out a message a few days ago and had responses, however this is still not bringing back correct data:
I'm only concerned with the where clause. The [ACCOUNT Query].MAJCOM works fine.
Issue: want to display only dates that are older than 1 year from todays date. (for Account.Letter Data)
Data: Account.Letter
10 Oct 2000
19 Sept 1999
2 Jan 2002
1 Feb 2002
Formula: WHERE ((([ACCOUNT Query].MAJCOM)="PRIMARY" AND ((ACCOUNT.LETTER)<DateAdd("yyyy",-1,Date())));
Should display Only:
19 Sept 1999
Problem: Brings back ALL data.
Any Idea's ?
Thanks
I'm only concerned with the where clause. The [ACCOUNT Query].MAJCOM works fine.
Issue: want to display only dates that are older than 1 year from todays date. (for Account.Letter Data)
Data: Account.Letter
10 Oct 2000
19 Sept 1999
2 Jan 2002
1 Feb 2002
Formula: WHERE ((([ACCOUNT Query].MAJCOM)="PRIMARY" AND ((ACCOUNT.LETTER)<DateAdd("yyyy",-1,Date())));
Should display Only:
19 Sept 1999
Problem: Brings back ALL data.
Any Idea's ?
Thanks