473,395 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access 2003, Can run a report but can't print 1 section.

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?

Nov 13 '05 #1
8 4869
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?

Nov 13 '05 #2
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?


Nov 13 '05 #3
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?

Nov 13 '05 #4
Followed your instructions. Same result. I did find however that the
problem seems to follow the last subreport that I add. I deleted two
and recreated them in a different order and the missing data is still
the last subreport that I created. I have 5 subreports attached to the
main report. 5 doesn't seem like a lot. when I added a 6th both the
5th and 6th had the same issue.

Nov 13 '05 #5
As you say, 6 subreports does not sound excessive.

I guess you have double-checked that the LInkMasterFields/LinkChildFields
are correct.

It does not sound like this issue, where data disappears from a subreport,
but you might want to check it out:
http://support.microsoft.com/default...b;en-us;840656

--
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*****@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Followed your instructions. Same result. I did find however that the
problem seems to follow the last subreport that I add. I deleted two
and recreated them in a different order and the missing data is still
the last subreport that I created. I have 5 subreports attached to the
main report. 5 doesn't seem like a lot. when I added a 6th both the
5th and 6th had the same issue.

Nov 13 '05 #6
The subreports are all indiviuals, they are not linked to each other.

Nov 13 '05 #7
The LinkMasterField/LinkChildField properties relate to how the subreports
are linked to the main report, not to each other.

--
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*****@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
The subreports are all indiviuals, they are not linked to each other.

Nov 13 '05 #8
The main report is an empty shell. Then I add the subreports into the
details section of the main report. The main report is not based on
any table or query.

Nov 13 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: CSDunn | last post by:
Hello, I have an Access 2003 report that opens in print preview and then maximizes upon clicking a button from a form. The OnClick event of the button fires a macro to open the report. How can...
0
by: Ann | last post by:
I have an Access 2000 database with 4 memo fields in it named memo1 memo2 memo3 and memo4. Some fields have data in them and some don't. If I create a report and put the 4 fields (with no labels)...
1
by: Jason | last post by:
For some reason, most but not all reports printing from an access application our client is using will not print any images on the reports or forms. One report will print the image and data...
2
by: BikeToWork | last post by:
I found code online which uses Windows API's to save Access reports to pdf format files. I'm using the full version of Adobe Acrobat Professional 7.0. The problem is that regardless of what I put...
0
by: training | last post by:
Hi Evreyone Hope you can help. I have an OLE object in the details section of an Access 2003 report. I need it to resize for each record, but there is no Can Grow, Can Shrink property. Hope...
4
by: amanda27 | last post by:
Can anyone help me? I would like to know if possible and how do I have an Access Report read/print/export to a pdf file? If you can please let me know how to do this. Thanks
2
by: PW | last post by:
Hi, We have a new client who says he can not preview or print an Access 2003 report on his Vista machine. They print on his XP machine. He says the screen just flashes. Other users using...
5
by: lionelm2007 | last post by:
When I view a report in another machine, it looks slightly different. First of all, the logo in the report heading does not show up when you print, also in print preview, you can see the last letter...
9
by: prakashwadhwani | last post by:
Hi !! I'm about to develop a new project for a client. Should I go about it in Access 2003 or 2007 ? Purchasing it either for me or for my client is not a major consideration here ... what I'd...
18
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.