G
Guest
Hi,
I convert Access form with 2 sub forms from Office 97 to Office 2000 and in some point of the conversion progress I get
Error message that I had to do compilation to the old db before I convert, and after that I get my db but when I open one of the forms I get error message:
Error Message : "Canno't find project or library!"
and at th window of VB code:
Option Comare Database
Option Explicit
()Sub Form_Current
Dim ParentDocName As String
On Error Resume Next
ParentDocName = Me.Parent.Name
If Err<>0 Then
GoTo Form_Current_Exit
Else
On Error GoTo Form_Current_Err
Requery.[×©× ×˜×•×¤×¡ ×”×ž×©× ×”]!Me.Parent
End If
:Form_Current_Exit
Exit Sub
:Form_Current_Err
MsgBox Error$
Resume Form_Current_Exit
End Sub
If you know this problem, please help me with details...
thanks a lot
I convert Access form with 2 sub forms from Office 97 to Office 2000 and in some point of the conversion progress I get
Error message that I had to do compilation to the old db before I convert, and after that I get my db but when I open one of the forms I get error message:
Error Message : "Canno't find project or library!"
and at th window of VB code:
Option Comare Database
Option Explicit
()Sub Form_Current
Dim ParentDocName As String
On Error Resume Next
ParentDocName = Me.Parent.Name
If Err<>0 Then
GoTo Form_Current_Exit
Else
On Error GoTo Form_Current_Err
Requery.[×©× ×˜×•×¤×¡ ×”×ž×©× ×”]!Me.Parent
End If
:Form_Current_Exit
Exit Sub
:Form_Current_Err
MsgBox Error$
Resume Form_Current_Exit
End Sub
If you know this problem, please help me with details...
thanks a lot