Bandenjamin
Programmer
I have a report where i want the report to look at field1(pulled from QueryZ) and if Field1 = x then Field2 (set as a parameter) = y
What I've tried so far in the on open event
Can anoyone see where I'm going wrong here? any help is much appreciated.
Dan
What I've tried so far in the on open event
Code:
If [field1] = "x" Then [field2] = "y"
ElseIf [Field1] = "y" Then [Field2] = "z"
Elseif [Field1] = "z" then [Field2] = "a"
Else [Field2] = "x"
End if
Can anoyone see where I'm going wrong here? any help is much appreciated.
Dan