Access 2010, Win7:
I'm using an expression in a parameter query to determine the sort order. Actual expression:
IIf([Enter Rep#]=1,IIf([Randomize Rep1?]="N",[tblPedigrees.Type_Cross]),Rnd([SSID]))
The query fails when [Enter Rep#]>2. The [Randomize Rep1?] parameter still appears even though conditions should have been met initially with [Enter Rep#]>1.
Could anyone help direct me toward a solution or correct syntax?
Thanks Much!
I'm using an expression in a parameter query to determine the sort order. Actual expression:
IIf([Enter Rep#]=1,IIf([Randomize Rep1?]="N",[tblPedigrees.Type_Cross]),Rnd([SSID]))
The query fails when [Enter Rep#]>2. The [Randomize Rep1?] parameter still appears even though conditions should have been met initially with [Enter Rep#]>1.
Could anyone help direct me toward a solution or correct syntax?
Thanks Much!
Last edited: