Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

How to show message when max chars in fied are reached

Options
  • 10-11-2009 3:27pm
    #1
    Closed Accounts Posts: 2,696 ✭✭✭


    In VB - How do I test if max chars is reached and display message?
    
        
        If Me.TxNameOnBankAccount.MaxChar = True
            MsgBox "Name is max"
        End If
    End Sub
     
    


Comments

  • Closed Accounts Posts: 2,696 ✭✭✭mark renton


    john47832 wrote: »
    In VB - How do I test if max chars is reached and display message?
     
     
        If Me.TxNameOnBankAccount.MaxChar = True
            MsgBox "Name is max"
        End If
    End Sub
     
    


    sorry found it
     
     
        If Len(Me.TxNameOnBankAccount.Text) = 32
            MsgBox "Name is max"
        End If
    End Sub
     
    
    [/quote]


Advertisement