Hello
I have a big BIG problem. Im new with acces and ive been creating a db for a month now. It was working perfectly and just after i did a db SPLIT some functions began displaying error 2465. I first thought it was caused by the SPLIT but now ive opened backedup files from weeks ago and it ALSO gives me error 2465 which it didnt give me before. What could have happened??? What can i do???
Example: this function worked EXCELLENT, now its giving me the error 2465.
It gives me the error highlighting (Forms!frmSplashScreen!chkHideSplash = False). I actually DONT have ANY control named "chkHideSplash". The issue is that BEFORE it didnt show me the error and now it does.
If there is no fix for this...HOW can i simply "DISREGARD/PASS" the error so that it doesnt bring he debugger????
Thanksm
Gilberto
I have a big BIG problem. Im new with acces and ive been creating a db for a month now. It was working perfectly and just after i did a db SPLIT some functions began displaying error 2465. I first thought it was caused by the SPLIT but now ive opened backedup files from weeks ago and it ALSO gives me error 2465 which it didnt give me before. What could have happened??? What can i do???
Example: this function worked EXCELLENT, now its giving me the error 2465.
Code:
Private Sub Form_Open(Cancel As Integer)
On Error GoTo FormOpen_Err
If (CurrentDb().Properties("StartupForm") = "frmSplashScreen" Or _
CurrentDb().Properties("StartupForm") = "Form.frmSplashScreen") _
Then
[B] Forms!frmSplashScreen!chkHideSplash = False[/B]
Else
Forms!frmSplashScreen!chkShowHide = True
End If
FormOpen_Exit:
Exit Sub
FormOpen_Err:
If Err = 3270 Then
Forms!frmSplashScreen!chkShowHide = True
Resume FormOpen_Exit
End If
End Sub
'----------------------------------------------------------------
Private Sub Form_Close()
On Error GoTo Form_Close_Err
If Forms!frmSplashScreen!chkShowHide Then
CurrentDb().Properties("StartupForm") = "frmMain"
Else
CurrentDb().Properties("StartupForm") = "frmSplashScreen"
End If
Exit Sub
Form_Close_Err:
If Err = 3270 Then
Dim db As DAO.Database
Dim prop As DAO.Property
Set db = CurrentDb()
Set prop = db.CreateProperty("StartupForm", dbText, _
"frmSplashScreen")
db.Properties.Append prop
Resume Next
End If
End Sub
It gives me the error highlighting (Forms!frmSplashScreen!chkHideSplash = False). I actually DONT have ANY control named "chkHideSplash". The issue is that BEFORE it didnt show me the error and now it does.
If there is no fix for this...HOW can i simply "DISREGARD/PASS" the error so that it doesnt bring he debugger????
Thanksm
Gilberto