Have you considered using an DSN provider in your ADODB Connection object code?
Doing this would simplfy having to recomplie code based on the deployment, minimize "dll hell" with various User OS and future OLE DB upgrades.
Option Explicit
Const lstNumericCharacters As String = ","
Dim firstname As String
Dim middlename As String
Dim lastname As String
Private Sub Form_Click()
Call Display_Clean_String
Call Display_AddressBook
'Will raise Error
Frame1.Enabled = False
Call...
Shannan
I dropped your code into a test form ... it works as expected. Setting the ENABLE property of Frame1 or MaskEdit1 to 'False' will raise the error.
Focus EVENTs occur in the following order:
Enter
GotFocus
Leave
Validating
Validaed
LostFocus
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.