473,654 Members | 2,968 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Access Report to PDF

Hello All,

I have been doing quite a bit of research in this group and have not
been able to find the answer that I am looking for.

Here is my issue. We currently have Adobe Acrobat v5 installed on our
system (under Windows 2000 Professional). Currently, we are using MS
Access 2000. Early next year we will be moving to Windows XP (probably
converting to MS Access XP as well) and have been told that Adobe
Acrobat v6 is to be installed as the new standard. Oh yeah - they have
also told us NO to having Acrobat v5 installed. This means that we will
no longer have access to PDF Writer, which we currently utilise to
generate PDF documents from reports. PDF Distiller apparently is
replaced with PDF Print (if memory serves me well). I have tried
working with PDF Distiller and have not had any success, very messy,
unlike PDF Writer.

My question for the group is; does any know how I am will be able to
generate PDF documents from MS Access 2000/XP without PDF writer using
Adobe Acrobat v6 PDF print? Oh yeah - third party tools (other then MS
Office and Adobe Acrobat v6 standards) are a NO NO, for example Win2PDF
etc.

Does anyone have any suggestions? Has anyone been able to PDF Print to
work from VBA?

Please note: I'd rather not get into creating SNP (snapshot views)
since we send our documents externally at times).

Thank-you all, in advance, for your time and attention to this
matter...

Regards,
Dave

Nov 13 '05 #1
12 5590
We have a full version of Acrobat. I used something else simpler than
Acrobat to program. It is pdf995. On their site, there are examples for
developers in VBA.

http://www.freeware995.com/misc/vbacode.txt

"DGB @ Sun" <Da************ ***@SunLife.com > wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hello All,

I have been doing quite a bit of research in this group and have not
been able to find the answer that I am looking for.

Here is my issue. We currently have Adobe Acrobat v5 installed on our
system (under Windows 2000 Professional). Currently, we are using MS
Access 2000. Early next year we will be moving to Windows XP (probably
converting to MS Access XP as well) and have been told that Adobe
Acrobat v6 is to be installed as the new standard. Oh yeah - they have
also told us NO to having Acrobat v5 installed. This means that we will
no longer have access to PDF Writer, which we currently utilise to
generate PDF documents from reports. PDF Distiller apparently is
replaced with PDF Print (if memory serves me well). I have tried
working with PDF Distiller and have not had any success, very messy,
unlike PDF Writer.

My question for the group is; does any know how I am will be able to
generate PDF documents from MS Access 2000/XP without PDF writer using
Adobe Acrobat v6 PDF print? Oh yeah - third party tools (other then MS
Office and Adobe Acrobat v6 standards) are a NO NO, for example Win2PDF
etc.

Does anyone have any suggestions? Has anyone been able to PDF Print to
work from VBA?

Please note: I'd rather not get into creating SNP (snapshot views)
since we send our documents externally at times).

Thank-you all, in advance, for your time and attention to this
matter...

Regards,
Dave

Nov 13 '05 #2
"Saintor" <sa******@REMOV ETHIShotmail.co m> wrote in
news:hC******** ************@we ber.videotron.n et:
We have a full version of Acrobat. I used something else simpler
than Acrobat to program. It is pdf995. On their site, there are
examples for developers in VBA.

http://www.freeware995.com/misc/vbacode.txt


Wow, that's ugly code.

I'd suggest replacing the hardwired All Users reference with the
environment variable ALLUSERSPROFILE , for one.

The code also reminds me of PDF995's poor behavior in insisting that
install itself in the root of your C: drive. That's *extremely* bad
design for an application designed to run under any NT-based version
of Windows other than NT 4 itself, since by default, the root of C:
is read-only accessible to users.

I use PPF995, but this one thing is very, very poorly implemented.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #3
I too have struggled with the automated conversion of a report to PDF.
I finally ended up automating snapshot outputs and then converting
those to PDF...

Nov 13 '05 #4
Even if it is ugly (or may be not), if it works and is reliable...who cares?

..
Wow, that's ugly code.

I'd suggest replacing the hardwired All Users reference with the
environment variable ALLUSERSPROFILE , for one.

The code also reminds me of PDF995's poor behavior in insisting that
install itself in the root of your C: drive. That's *extremely* bad
design for an application designed to run under any NT-based version
of Windows other than NT 4 itself, since by default, the root of C:
is read-only accessible to users.

I use PPF995, but this one thing is very, very poorly implemented.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc

Nov 13 '05 #5
"Saintor" <sa******@REMOV ETHIShotmail.co m> wrote in
news:yQ******** ***********@wag ner.videotron.n et:
Even if it is ugly (or may be not), if it works and is
reliable...who cares?


Ugliness in code generally indicates to me that:

1. there are design problems that necessitate the ugliness, AND

2. it's a maintenance problem, particularly with hardwired paths.

When I see ugly code provided by a 3rd party, it makes me think
"Hmm, looks like this was not written by someone who knows too much
about conventions for programming in this particular language." and
that makes me suspect the code overall.

It may very well work.

It may very well be the best code that can be used to accomplish the
task.

And I might very well use it.

But I still would feel uncomfortable about it.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6
Hi Nick,

Thank you very much for your input...
I looked into this option as well but was unclear on how to convert SNP
to PDF. Do you have any suggestions and/or code?

Thanks again Nick...

Regards,
Dave

Nov 13 '05 #7
Hi David and Saintor,

Thank-you both for your input...
Saintor, I will look into this code more carefully. Although I am very
interested in Nick's suggestion, i.e. the conversion from SNP to PDF.
Any case, I open to all suggestions. Fact of the matter all, what was
Adobe thinking? You would think a company would want to retain
functionality that promotes their product ?!? Such is life...

Dave

Nov 13 '05 #8

Thank you very much for your input...
I looked into this option as well but was unclear on how to convert SNP
to PDF. Do you have any suggestions and/or code?


Once Acrobat is installed, I believe you can just right-click the
Snapshot file and choose 'Convert to PDF.'

I didn't have any luck automating this process with VBA.

Nov 13 '05 #9
Hi Nick,

Thanks for your quick response...
I, unfortunately, don't get the option 'Convert to PDF' when I right
click on the file. In any case, I would have to implement something
that converts the file through code.

Thanks for your time...

Regards,
Dave

Nov 13 '05 #10

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

Similar topics

3
23870
by: Nicola | last post by:
Hi Everyone, I am new to programming and would like to know how to open an access Report from within vb 6. I am trying to write a program to organise cross stitch threads. I have found out how to use a database table but all I want to do now is to click a command button to display this access report. Any suggestions please ?????
2
15424
by: Tom Weddell | last post by:
Can I call an Access report from VB.Net? (I'm using access as the backend.) Thanks in advance.
2
8124
by: Vikrant | last post by:
Hey Friends I need to export an Access Report using a filter. I am using the method OutputTo m_pDoCmd->OutputTo( 3, // asOutputReport COleVariant(strReportName), // <report name> COleVariant(_T("HTML (*.html)")), // acFormatHTML
15
13293
by: Mark C | last post by:
All, I have exhaustingly been looking through the newsgroups in search of a way to systemically output an Access 97 report to a pdf file using the full version of Adobe Acrobat. I want the user to be able to click a button and have the Access report saved as a pdf in a directory specified by me the programmer. I have seen a posting by John Baker promoting a web-sight that has an mde that one can reference in any database but after 30...
8
3508
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
4
1567
by: Greg Teets | last post by:
I am running an Access report from VB via ADO. The report has a field that shows the time it was run. Is it possible to return the data from this field to VB when the report runs? Or to find the data in the ACCESS system tables? Thank you. Greg Teets
3
3707
by: Newbie | last post by:
This is my first try at running Access Report by Visual Basic I have the following code in my button press event: ' 2 - Show print preview objAccess.DoCmd.OpenReport "Invoices", 2, , ".=" & _ intCurrentInvoice objAccess.DoCmd.Maximize
9
5731
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo field is printed within the detailed area. The problem is, the apllication is not setup properly, thus the users are entering data within the memo field as: location1 1/1/2005 1/1/2006
6
5220
by: DeniseY | last post by:
I have an Access report that is created on the fly by the user selecting the fields to be included. The Access report comes out fine, but I want it to automatically output to an Excel spreadsheet. Again, I have this part working. But the fields in the resulting spreadsheet are in a different order than the Access report. (Example: The fields in the Access report might go FirstName, LastName,Address,City--in the Excel spreadsheet, they come up...
1
2488
by: sonicfun2006 | last post by:
I have SQL Server Database and MS Access 2003 is connected with ODBC. I have very large amount of records in various tables. The database is very dynamic as it changes every minute. I’m trying to have a live MS Access report which would pull data from SQL Server. I’ll try to explain how I’m trying do this: The Access report should have two parts: 1. Title page report, just like table of contents. It should be listing a particular field of a...
0
8372
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8285
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8814
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8706
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8475
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8591
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7304
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
1592
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.