M
mattc66 via AccessMonster.com
I have the below IF statements. How it is written, I would expect that if the
ITEM_TYPE = A and the PROD_FAM = STMP the IF vResponse2 would not be asked?
However I am finding that irregardless of the first IF result the MsgBox is
poping up with the question. Any ideas?
If (Me.ITEM_TYPE = "F") And (Me.PROD_FAM = "STMP") Then
Me.AR_CODE = "103"
Me.AP_CODE = "1220"
If vResponse2 = vbYes Then
Me.MATRIX_CODE = "5"
Else
Me.MATRIX_CODE = "3"
End If
End If
ITEM_TYPE = A and the PROD_FAM = STMP the IF vResponse2 would not be asked?
However I am finding that irregardless of the first IF result the MsgBox is
poping up with the question. Any ideas?
If (Me.ITEM_TYPE = "F") And (Me.PROD_FAM = "STMP") Then
Me.AR_CODE = "103"
Me.AP_CODE = "1220"
If vResponse2 = vbYes Then
Me.MATRIX_CODE = "5"
Else
Me.MATRIX_CODE = "3"
End If
End If