Hello,
I'm a bit new so be patient with me. I’m trying to use a database (Access 2003 32bit) that my company has to track purchase orders and restructure it to track request for quotes (Access 2010 64bit). All has gone smoothly until I started working on the reports, when I try to open a report with the open report button on my form I get an error that says “Compile error: Sub or Function not Defined” below is the code I’m trying to run. Please note this works just fine in the original access 2003 database
I also have not changed any of the database object names, I'm holding off on this until I know for sure that I've imported all of the objects I need from the original database
Private Sub Report_Open(Cancel As Integer)
intLineNum = 0
If Not IsLoaded("Purchase Orders(inventory)") Then
MsgBox "Open this report using the Preview button on the Purchase Orders form."
Cancel = True
Exit Sub
End If
End Sub
Thanks in advance for any help I can get on this
Kevin