It could be the name, if Access itself is confused about what things are
called. That happens regularly if you don't uncheck the Name AutoCorrect
boxes under:
Tools | Options | General
More info on problems caused by that issue here:
Failures caused by Name Auto-Correct
at:
http://allenbrowne.com/bug-03.html
After unchecking those boxes, compact the database:
Tools | Database Utilities | Compact
Then open the main report in design view.
Right-click the edge of the subreport, and choose Properties.
Change the Name of the subreport control.
Check the SourceObject property.
Save the change.
Compact again.
If the problem still persists, try a decompile. Close Access. Make a backup
copy of the file. Decompile the database by entering something like this at
the command prompt while Access is not running. It is all one line, and
include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"
Open Access, and compact again.
Then remove any references you don't need. Open a code window.
Choose References from the Tools menu.
Uncheck any references you do not need.
For a list of the ones you typically need in your version of Access, see:
http://allenbrowne.com/ser-38.html
Still in the code window, choose Compile from the Debug menu.
Fix any errors, and repeat until it compiles okay.
At this point, you should have a database where the name-autocorrect errors
are gone, the indexes are repaired, inconsistencies between the text- and
compiled-versions of the code are fixed, and reference ambiguities are
resolved.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users -
http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<st*****@hotmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I use the wizard to add it to the main report. I can change the name
but I use the same naming convention for about 6 different subreports
on the same main report. Could it be the name it is still displays on
the screen but gives me problems when I print?
Linda Burnside wrote: Check the name of your subreport. If the name of the report contains a
character or word that is reserved, or it contains spaces, that may be
your
problem. If you think this is the problem, rename the report.
Linda
<st*****@gmail.com> wrote in message
news:11********************@g47g2000cwa.googlegrou ps.com... >I have created a report with subform/subreports. I can see all the
> data on the screen but when I try to print it to a printer or adobe
> distiller I get 'The Microsoft Jet Database engine could not find the
> obect ". Make sure the object exists and that you spell its name and
> path name correctly.'. Everything prints expect for the last
> subform/subreport. If I remove that subreport it prints fine. The
> subreport prints by itself if I run it individually.
>
> Any suggestions?