Advertisement

07.14.2008 at 01:16PM PDT, ID: 23564058
[x]
Attachment Details

How can I combine these two If statements into 1?

Asked by snyperj in Microsoft Access Database

 If Len(Me.T_NEW_NBR) < 6 Then
        MsgBox "Please enter a 6 digit number.", , "Error-"
        Me.T_NEW_NBR.SetFocus
        Exit Sub
    End If
   
     If IsNull(Me.T_NEW_NBR) Then
        MsgBox "Please enter a 6 digit number.", , "Error-"
        Me.T_NEW_NBR.SetFocus
        Exit Sub
    End IfStart Free Trial
[+][-]07.14.2008 at 01:22PM PDT, ID: 22001731

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 01:23PM PDT, ID: 22001740

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Sign Up Now!
Solution Provided By: DavusMaximus
Participating Experts: 3
Solution Grade: A
 
 
[+][-]07.14.2008 at 01:24PM PDT, ID: 22001753

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.14.2008 at 01:25PM PDT, ID: 22001756

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628