Hi, all! I am pulling my hair out trying to get the following Conditional IF parameter Query to work:
IIf([Forms]![RptDialogBoxFrm]![RptType]=1 And [Forms]![RptDialogBoxFrm]![DateType]="Due Date",([RA Report].[RADue]) Between [Forms]![RptDialogBoxFrm]![BeginDate] And [Forms]![RptDialogBoxFrm]![EndDate])
I have a form that I am using to pass the query parameters. If I take any part of the above statement, it will work. If I use the conditional IF with other statements, it works. However,the above statement placed in the criteria for [RA Report].[RADue]returns nothing. I hope I was specific enough! Thanks!
IIf([Forms]![RptDialogBoxFrm]![RptType]=1 And [Forms]![RptDialogBoxFrm]![DateType]="Due Date",([RA Report].[RADue]) Between [Forms]![RptDialogBoxFrm]![BeginDate] And [Forms]![RptDialogBoxFrm]![EndDate])
I have a form that I am using to pass the query parameters. If I take any part of the above statement, it will work. If I use the conditional IF with other statements, it works. However,the above statement placed in the criteria for [RA Report].[RADue]returns nothing. I hope I was specific enough! Thanks!