we have a database written in Access 2000 and when we try to run it on Access 2003 98% of it works but a very important form crashes the app everytime, this must be an incompatability but where, can any kind sole help??
The button in question runs this:
Private Sub Command168_Click()
On Error GoTo Err_Command168_Click
Dim stDocName As String
'in case of new record entry, update records for report query
Me.Refresh
stDocName = "rptJobCard"
DoCmd.OpenReport stDocName, acPreview
Exit_Command168_Click:
Exit Sub
Err_Command168_Click:
MsgBox Err.Description
Resume Exit_Command168_Click
End Sub
If anyone can help please get back to me, just ask what you need code wise and I'll send it
Jayce
The button in question runs this:
Private Sub Command168_Click()
On Error GoTo Err_Command168_Click
Dim stDocName As String
'in case of new record entry, update records for report query
Me.Refresh
stDocName = "rptJobCard"
DoCmd.OpenReport stDocName, acPreview
Exit_Command168_Click:
Exit Sub
Err_Command168_Click:
MsgBox Err.Description
Resume Exit_Command168_Click
End Sub
If anyone can help please get back to me, just ask what you need code wise and I'll send it
Jayce