Solved

Create pdf_document from database!!

Posted on 1998-12-04
3
220 Views
Last Modified: 2010-03-19
I don't know if this question should put here!!
I have a webpage useing SQL_database,
I want to create pdf_document or Word_document or pagemaker_document direct from post that I pick up from the database, How can I do or if I can do that??
0
Comment
Question by:ruisun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Author Comment

by:ruisun
ID: 1092089
Adjusted points to 150
0
 

Accepted Solution

by:
scb earned 150 total points
ID: 1092090
I have successfully written and deployed a system that outputted both PDF's and Word 2.0 documents from a SQL Server Database.

Essentially, I used two middleware components -- Cold Fusion and Crystal Reports with a custom Cold Fusion tag that converts Crystal Reports templates to PDF or Word.  You'll need to install Cold Fusion on your server and obtain a copy of Crystal Reports to format your template.

Point your browser to http://www.allaire.com/developer/gallery/index.cfm?ObjectID=7259
and pick up the custom tag that does all the work. There should be a PDF document explaining how to do everything.  If not, let me know and I'll forward it to you.

Basically you use Crystal Reports to format your database information into a template file, then write a Cold Fusion script that calls the custom tag, passing it the Crystal Reports template information.

Good Luck.
0
 

Expert Comment

by:DrSound
ID: 11895481
We have a database maintained in an SQL server that is offsite.  We also want to allow users to the website to not only see the results of their queries, but also to view and download parts or all of the database as a .pdf file.  Since we don't have a work around yet, we are manually updating a WordPeferct table each time we add new data or removed all data - and WordPerfect has been abondoned by our agency - and then letting the users view the database in a .pdf format built from the WordPerfect table.  

Are there mainstream tools - such as from Adobe, MicroSoft, etc, that will allow us to build the .pdf on the fly for the web user?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Display SQL maintenance plan SQL Code 3 45
SSIS Column mapping 5 40
SQL Query (lookup) 8 60
SQL XPCMDSHELL SQLCMD 1 37
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question