G
Gilberto Lawas via AccessMonster.com
To All Code Guru's,
I'm trying to make and IF THEN statement that says:
Dim stDocName As String
If AcctNum Is Null Then
MsgBox VbMsgBoxStyle=VbOKOnly As VbMsgBoxResult
Else
stDocName = "Credit Letter"
DoCmd.OpenReport stDocName, acPreview
End If
My problem is the Message box. All I want to say is if there is no account
Number then prompt user.
I'm trying to make and IF THEN statement that says:
Dim stDocName As String
If AcctNum Is Null Then
MsgBox VbMsgBoxStyle=VbOKOnly As VbMsgBoxResult
Else
stDocName = "Credit Letter"
DoCmd.OpenReport stDocName, acPreview
End If
My problem is the Message box. All I want to say is if there is no account
Number then prompt user.