473,420 Members | 4,510 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,420 software developers and data experts.

ReportToPDF - Access 2003 SP2

I have the ReportToPDF code working fine with Access 2003 (No Service Patch) and acrobat 8, but as soon as i try the same code on Access 2003 SP2 with acrobat 7 it doesn't work.

<<<<<<<<<<<
Expand|Select|Wrap|Line Numbers
  1.     ' Save the Snapshot file as a PDF document.
  2.     Dim blRet As Boolean
  3.     Dim sPDF As String
  4.     Dim sName As String
  5.     sName = "Exception_Report"
  6.  
  7.     If Len(sName & vbNullString) = 0 Then Exit Sub
  8.     ' let's use the name of the selected Snapshot file
  9.     ' to name our converted PDF document.
  10.     sPDF = Mid(sName, 1, Len(sName) - 3)
  11.  
  12.     blRet = ConvertReportToPDF(sName, , sName & ".PDF", False)
>>>>>>>>>>>>>>>>>>>>

Does the ReportToPDF work with access 2003 SP2??

Can you think of any other reason this would work??

Cheers
Aaron
Aug 29 '07 #1
2 1883
missinglinq
3,532 Expert 2GB
You have inadvertently posted your question in the Articles section rather than in the Forum section of our site, so I have moved it across to the Forum for you.

Welcome to TheScripts!

Linq ;0)>
Aug 29 '07 #2
NeoPa
32,556 Expert Mod 16PB
I have the ReportToPDF code working fine with Access 2003 (No Service Patch) and acrobat 8, but as soon as i try the same code on Access 2003 SP2 with acrobat 7 it doesn't work.

<<<<<<<<<<<
Expand|Select|Wrap|Line Numbers
  1.     ' Save the Snapshot file as a PDF document.
  2.     Dim blRet As Boolean
  3.     Dim sPDF As String
  4.     Dim sName As String
  5.     sName = "Exception_Report"
  6.  
  7.     If Len(sName & vbNullString) = 0 Then Exit Sub
  8.     ' let's use the name of the selected Snapshot file
  9.     ' to name our converted PDF document.
  10.     sPDF = Mid(sName, 1, Len(sName) - 3)
  11.  
  12.     blRet = ConvertReportToPDF(sName, , sName & ".PDF", False)
>>>>>>>>>>>>>>>>>>>>

Does the ReportToPDF work with access 2003 SP2??

Can you think of any other reason this would work??

Cheers
Aaron
Aaron,

If you want people to look at your problem you should really make the effort to ask the question in a much clearer way.
This is a bit like saying :
I've got a problem. Can you tell me what it is?
ReportToPDF & ConvertReportToPDF? Are they both references to the same thing that you haven't introduced anywhere? Are they supposed to be inbuilt Access items? Help didn't seem to know anything about them.
If you would like us to help please provide us with a meaningful question. It's not much fun spending time and effort just trying to find out what the question means.
Sep 4 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Tom | last post by:
Hi: I'm using the Leban's ReportToPDF solution and have encountered a small problem. I'm calling the code using the following: Call ConvertReportToPDF(strReportName, , , True, True) Where...
1
by: Dennis Hartmann | last post by:
Thank you Stephen Lebans! This solution implements easily... and it works well. I figured performance would suffer a little because the report is first saved as a snapshot then converted but,...
0
by: sramsey | last post by:
I have been using Lebans ReportToPDF code for a couple months without problems. We recently changed the format of the invoice and now the first line of the detail section of my report is missing 2...
6
by: ldn95887 | last post by:
I have been using Lebans ReportToPDF code for a couple months without problems. We recently changed the format of the invoice and now the first line of the detail section of my report is missing 2...
2
by: J-P-W | last post by:
Hi, I'm using Stephen Lebans ReportTpPDF (thank you Stephen) and it's great. I've not changed the code at all, I invoke it using: Call ConvertReportToPDF(Me.rptName, vbNullString,...
1
by: lgeastwood | last post by:
I have downloaded Stephen Lebans' ReportToPDF A2K and converted it to A97. It works fine on one computer with A97. On another PC (also with A97), I get error #2282 "Formats to output rich-text...
1
by: ldn95887 | last post by:
I have been using ReporttoPDF for a year now without problems. I added it to one clients code and it worked on some workstations and not others. What I found is that Adobe Reader 8.0 did not...
8
by: Jana | last post by:
I would love to check out Stephen Leban's ReportToPDF database, but only have Access 97. Is there a way to get a 97 version? Thanks, Jana
7
by: rquintal | last post by:
I could not find a good method to pass a where clause or openargs to a report named in a call to stephen Lebans' fine reportToPDF utility.l. Do you have a good method to pass a PK to the report...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.