Form_Load() : Error #0

rburna904

Registered User.
Local time
Today, 15:44
Joined
Jul 10, 2006
Messages
17
Ok this is driving me batty I have the following Form_Load():

Private Sub Form_Load()
On Error GoTo LoadError
DoCmd.Maximize
LoadError:
MsgBox "Error : " & Err.Number & vbCrLf & Err.Description
End Sub

and I keep getting Error : 0

Yet I can't find anything refering to an error # 0.....

Can anyone give me some insight to this???

Richard
 
Answer

Ok I found out what the issue was, see in another part of my code there was an issue with the notation to a form varriable. Not sure why this caused the Error #0 to be produced but it seems to have resolved it.
 

Users who are viewing this thread

Back
Top Bottom