Results 1 to 3 of 3

Thread: ErrorProvider is slow to respond

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    Austin
    Posts
    397

    ErrorProvider is slow to respond

    for some reason the errorprovider is slow to respond? any ideas

    Code:
            If Not IsDate(Me.TextBoxDateSentBack.Text) Then
                ErrorProvider1.SetError(Me.TextBoxDateSentBack, "Needs to be a date format.")
                MsgBox("Needs to be a date format.")
                Me.TextBoxDateSentBack.Select()
                Valid = 0
            Else
                ' Clear the error.
                ErrorProvider1.SetError(Me.TextBoxDateSentBack, "")
                Valid = 1
            End If

  2. #2
    Addicted Member techwizz's Avatar
    Join Date
    Apr 2005
    Location
    U.S.A.
    Posts
    246

    Arrow Re: ErrorProvider is slow to respond

    I dont know why.. but i do know that i have the same problem. Seems to happen more often when im attatched to an access database. Access seems to slow down the check.

    But i dont see where you have a DB connection... so maybe someone else can shed some light on the subject.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ErrorProvider is slow to respond

    I use Access and my ErrorProviders always respond instantaneously. Where is this code being called from? Also, is there a reason that you are using a TextBox instead of a DateTimePicker? The validation is already built into the DateTimePicker, plus you can set minimum and maximum dates and the user can select from a drop-down calender, which many people like.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width