Error 2465 (1 Viewer)

djh57

New member
Local time
Today, 18:34
Joined
Jan 25, 2000
Messages
5
I have been passed an application that used to run on Access 95.
I have converted it to Access 97.

The following line produces an error

DoCmd.RunMacro "Run Totals by HS"

Run-time error '2465'
Microsoft Access can't find the field 'Forms' referred to you in your expression.

The macro runs a report that I assume has some connection to a form, but i can't find the link.
 

Travis

Registered User.
Local time
Today, 10:34
Joined
Dec 17, 1999
Messages
1,332
You may want to look at this macro and find the actual line that it errors on. This may shed more light on the Subject.
 

djh57

New member
Local time
Today, 18:34
Joined
Jan 25, 2000
Messages
5
The macro has only one line
OpenReport with a report name and view.
The only other information available is that the error comes up with an Action Failed box.

Macro Name - Run Totals by HS
Condition - True
Action Name - OpenReport
Arguments - Total by HS, Print Preview,,
 

djh57

New member
Local time
Today, 18:34
Joined
Jan 25, 2000
Messages
5
Fixed.

It was nothing to do with form, but a query that had been renamed.
 

Users who are viewing this thread

Top Bottom