Error message

  • Thread starter Thread starter Robert Morris
  • Start date Start date
R

Robert Morris

Hi,

I keep getting this error no matter what I do to correct
the problem what am I missing?

Private Sub Report_Open(Cancel As Integer)
If Not isloaded("Internal Maintenance Workorders")
Then
MsgBox ""
Cancel = False
Else
DoCmd.OpenForm "Print Invoice", , , , , acDialog
If Not isloaded("Print Invoice") Then
Cancel = True
End If
End If


Thanks

Robert
 
Back
Top