M
mattc66 via AccessMonster.com
I want to ask a question with the MsgBox. When I run code I get a message
that says wrong number of arguments. Can I get some help. Thanks
If Me.ITEM_TYPE <> "F" And Me.PROD_FAM = "STMP" Then
Me.AR_CODE = "107"
MsgBox "Is this item a Spare Steam Part? Click Yes. Or used to build _
Steam Products? Click No.", vbYesNo, "AP CODE Question", , ,_ VbMsgBoxResult
If VbMsgBoxResult = vbYes Then
Me.AP_CODE = "1260"
Else
Me.AP_CODE = "1220"
End If
that says wrong number of arguments. Can I get some help. Thanks
If Me.ITEM_TYPE <> "F" And Me.PROD_FAM = "STMP" Then
Me.AR_CODE = "107"
MsgBox "Is this item a Spare Steam Part? Click Yes. Or used to build _
Steam Products? Click No.", vbYesNo, "AP CODE Question", , ,_ VbMsgBoxResult
If VbMsgBoxResult = vbYes Then
Me.AP_CODE = "1260"
Else
Me.AP_CODE = "1220"
End If