Very Simple Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I get my code to run if the past developer named the object source
name the following way?

Report.rsubClosers-InProcess

Notice the "." period and the "-" dash in the name?
 
The dash can be used but the period should not be used. Since it is a
report, the report name would be used very little in the database. My
recommendation is ti change the name of the report to RptClosersInProcess.
Code to the code that opens the report. It should look like:
DoCmd.OpenReport "Report.rsubClosers-InProcess"
Change the name there. This is the most obvious and most common place where
the report name is used. Next open the form in design view and see if there
is a subreport. If there is, click on the subreport control and change the
LinkMaster property. This is the second most common place where the report
name is used. Most likely that is all you will need to do. Run your report
and if any errors popup due to the name change, go to the cause of the error
and change the report's name there.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 
Back
Top