I have a preview form that summarises a range of data about a specific client when you put in their unique ID. This all runs on a query. I have a field in that query which is the date they complete a course. I have created a parameter query which takes that date and runs an iif statement that if that date is less than 6 weeks ( 42 days) from today then YES should appear in that parameter query field.
Currently I have the following:
WithinReviewPeriod:IIf([CompletionDate]<=Date()-42,"YES"," ")
I do not get it stopping YES after the 42 days pass. This displays it always
I know I am close can someone assist me with the correct syntax please?
Currently I have the following:
WithinReviewPeriod:IIf([CompletionDate]<=Date()-42,"YES"," ")
I do not get it stopping YES after the 42 days pass. This displays it always
I know I am close can someone assist me with the correct syntax please?