D
devfrag
I have recently upgraded a users desktop to Office XP from Office 2000 and
it's generating the following error after the upgrade.
Run-time error '94'
Invalid use of Null
I looked at the form in design view and found the following code for the
On_Click procedure.
Begin code...
Private Sub cmdRegistration_Click()
On Error GoTo Err_cmdRegistration_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmRegistrationMain"
stLinkCriteria = "[IDClassSched]=" & Me![IDClassSched]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmdRegistration_Click:
Exit Sub
Err_cmdRegistration_Click:
MsgBox Err.Description
Resume Exit_cmdRegistration_Click
End Sub
End code...
Perhaps this isn't all of the information needed to solve this problem, but
I hope someone can point me in the right direction as I'm not a programmer,
just the network admin trying to help out.
Thanks
it's generating the following error after the upgrade.
Run-time error '94'
Invalid use of Null
I looked at the form in design view and found the following code for the
On_Click procedure.
Begin code...
Private Sub cmdRegistration_Click()
On Error GoTo Err_cmdRegistration_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmRegistrationMain"
stLinkCriteria = "[IDClassSched]=" & Me![IDClassSched]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_cmdRegistration_Click:
Exit Sub
Err_cmdRegistration_Click:
MsgBox Err.Description
Resume Exit_cmdRegistration_Click
End Sub
End code...
Perhaps this isn't all of the information needed to solve this problem, but
I hope someone can point me in the right direction as I'm not a programmer,
just the network admin trying to help out.
Thanks