G
Guest
I have the following query:
+30:
IIf([EXPIRE_DATE]<Now()+30,[qryPBMRateNext.Honor]+[qryPBMRateNext.Discount],[qryPBMRateOrig.Honor]+[qryPBMRateOrig.Discount])
Part 1:
I think that I am putting the time/date comparison together incorrectly (I'm
new to this). I need the EXPIRE DATE compared to a date 30 days from NOW. I
know the comparison is incorrect because when I run the query I get the same
result for all the calculated fields. What is the correct formatting?
Part2:
Is there a way to dynamically label the field with the upcoming months as
opposed to +30 +60 etc. regardless of when the query is performed?
A big THANK YOU for any guidance!
+30:
IIf([EXPIRE_DATE]<Now()+30,[qryPBMRateNext.Honor]+[qryPBMRateNext.Discount],[qryPBMRateOrig.Honor]+[qryPBMRateOrig.Discount])
Part 1:
I think that I am putting the time/date comparison together incorrectly (I'm
new to this). I need the EXPIRE DATE compared to a date 30 days from NOW. I
know the comparison is incorrect because when I run the query I get the same
result for all the calculated fields. What is the correct formatting?
Part2:
Is there a way to dynamically label the field with the upcoming months as
opposed to +30 +60 etc. regardless of when the query is performed?
A big THANK YOU for any guidance!