G
Guest
Hi. I upgraded my Access 2000 to Access 2003 but my database is not working
correctly anymore. When I try to use .mdb, Access throws Microsot Visual
Basic errormessage stating: "Compile error: Can't find project or library".
Debugger stops in line MsgBox Error$ two times in following form code:
Sub Form_Load()
On Error GoTo Form_Load_Err
If ParentFormIsOpen() Then ......
Form_Load_Exit:
Exit Sub
Form_Load_Err:
MsgBox Error$ <--- Debugger stops 1st time here stating Error$ can't
be found
Resume Form_Load_Exit
End Sub
Sub Form_Unload(Cancel As Integer)
On Error GoTo Form_Unload_Err
If ParentFormIsOpen() Then .........
Form_Unload_Exit:
Exit Sub
Form_Unload_Err:
MsgBox Error$ <-------- 2nd time here
Resume Form_Unload_Exit
End Sub
Please help with this! Should I replace Error$:s with something? I'm not
experienced Access form coder so this might be easy problem for you...
Thanks already
- Timo
correctly anymore. When I try to use .mdb, Access throws Microsot Visual
Basic errormessage stating: "Compile error: Can't find project or library".
Debugger stops in line MsgBox Error$ two times in following form code:
Sub Form_Load()
On Error GoTo Form_Load_Err
If ParentFormIsOpen() Then ......
Form_Load_Exit:
Exit Sub
Form_Load_Err:
MsgBox Error$ <--- Debugger stops 1st time here stating Error$ can't
be found
Resume Form_Load_Exit
End Sub
Sub Form_Unload(Cancel As Integer)
On Error GoTo Form_Unload_Err
If ParentFormIsOpen() Then .........
Form_Unload_Exit:
Exit Sub
Form_Unload_Err:
MsgBox Error$ <-------- 2nd time here
Resume Form_Unload_Exit
End Sub
Please help with this! Should I replace Error$:s with something? I'm not
experienced Access form coder so this might be easy problem for you...
Thanks already
- Timo