| |
nukeboy
Posts: 10
Score: 0
Joined: 5/22/2001
From: USA
Status: offline
|
My code is below, my problem is that I'm recieving two consecutive message boxes, when I only want one. I know the code is a little screwy but I've been playing with is trying to figure this out. Any suggestions? Thanks Function CustomerID_Blur() CustomerID_Blur = False If frmMain.CustomerID.Value <> "" then If Len(frmMain.CustomerID.value) <> 15 Then msgbox "CustomerId must be 15 digits.", vbcritical, "Intell-A-Check" Exit Function Else If Not IsNumeric frmMain.CustomerID.value) then msgbox "CustomerId must be 15 digits.", vbcritical, "Intell-A-Check" Exit Function Else CustomerID_Blur = True Exit Function End If End If Else Exit Function End If End Function
|
|