javablood wrote:
> I made come changes to a report that I call from a form and now I get
> this Error 2103 that tells me the report name I entered in either the
> property sheet or macro is misspelled or refers to a report that does
> not exist. It is not a macro or the macro name would be displayed
> (or so I read) and the report exists and in fact works if I run it
> directly, outside of the form.
What exactly do you mean by "call from a form"?
If you e.g. click on a command button then open the form in design
view and in the properties of the command button look for the
property "On Click". Then it depends on the text in the property.
If the text is "[Event procedure]" then set the cursor into the property
line and click on the little button (with the 3 points on it) to the right
of the line. This will open the VBA editor and you should see some
lines of code. In one of the lines you will see the name of the report.
e.g.
stDocName = "SomeReportName"
Here you can change the name of the report if it isn't correct any more.
Then save the changes by clicking on the save button in the command
bar and close the code editor.
Of course all this can be different depending on how you actually
call the report, what you see in the property sheet and when you
click on the editor button etc. So tell us the truth! ;-)
--
cu
Karl
*********
Access-FAQ (German/Italian): http://www.donkarl.com