Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Forms with an Access Database HELP!
Conf: (P-PDF) Developers, Msg: 101241
From: metallikiller
Date: 11/24/2003 02:08 PM

I will have a DSN established on the windows server.

Here is what they want. I have a PDF form on a server that you fill out and submit order info. Asp captures the form data and inserts it into an access database. OK that said everything on that end is fine and works well.

I have another PDF on the same server that the administrator will access from anywhere within the campus intranet and they will have adobe acrobat full version installed and log into it via server side authentication.

This is my connection code that works fine on my local testing server as long as I am on the machine the PDF is on and the dbase is on.

function Connect()
{
// Try to connect to the data source
// oConnection is a global variable declared in the document-level script Initialize

try {
// try to connect to the data source "EtsCsh"
oConnection = ADBC.newConnection("EtsCsh");
if (oConnection == null) throw "Could not connect";

} catch(e) {
app.alert(e);
}
}

It finds the DSN no problem. But when I am on any other machines within my personal intranet and I go to the page that contains the link for the PDF. I click the link. The adobe IE PLUGIN takes over and renders the PDF within explorer as it should. But it cannot find the DSN. The dialog box pops up for ODBC admin so you can create a DSN on the local machine. Does the database need to be locally or what? This defeats the whole purpose of accessing the data remotely.

My theory as to why this doesn't work is when you click on the link to the PDF you are actually downloading the PDF to the client's machine where in fact a DSN doesn't exist. So you would have to have the access database on the client machine, which defeats the purposes of populating the PDF dynamically on the server.

Basically, I need to know if the PDF can access the database on the server from a client browser (Internet Explorer, Netscape, etc...) with out installing any components on the server or client machines.



PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.