JSimoncelli
Registered User.
- Local time
- Today, 18:29
- Joined
- Apr 23, 2012
- Messages
- 73
I have a report that is based on a query, I have tried to add the “Between [Start Date ] And [End Date]” in the query and it returns a blank report (headers no data)… I have been able to get this work using the manual method “>#1/1/2013# And <#6/30/2013#” but not the user interactive method…
I must explain the query first: The date that I need to filter on is not in the table but is created based on a criteria (see below).. This may be a “cart before the horse” kind of thing, where the date [ReInvestDate] doesn’t exist when the “Between [Start Date ] And [End Date]” function is called…
Critieria:
ReInvestDate: IIf([Eligibility]="SCI",DateAdd("yyyy",+5,[PrevInvestDate]),IIf([Eligibility]="TS",DateAdd("yyyy",+5,[PrevInvestDate]),IIf([Eligibility]="S",DateAdd("yyyy",+10,[PrevInvestDate]))))
The [Eligibility] and [PrevInvestDate] are fields in a table and are used to create the [ReInvestDate] date in the query…
The formula works just fine I simply can’t filter using the “Between [Start Date ] And [End Date]” function in the query…
Any help would be appreciated
John
I must explain the query first: The date that I need to filter on is not in the table but is created based on a criteria (see below).. This may be a “cart before the horse” kind of thing, where the date [ReInvestDate] doesn’t exist when the “Between [Start Date ] And [End Date]” function is called…
Critieria:
ReInvestDate: IIf([Eligibility]="SCI",DateAdd("yyyy",+5,[PrevInvestDate]),IIf([Eligibility]="TS",DateAdd("yyyy",+5,[PrevInvestDate]),IIf([Eligibility]="S",DateAdd("yyyy",+10,[PrevInvestDate]))))
The [Eligibility] and [PrevInvestDate] are fields in a table and are used to create the [ReInvestDate] date in the query…
The formula works just fine I simply can’t filter using the “Between [Start Date ] And [End Date]” function in the query…
Any help would be appreciated
John