Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) Forms & FDF


Topic: No Topic
Conf: (P-PDF) Forms & FDF, Msg: 28093
From: IMSAK
Date: 10/4/2001 12:11 PM

Thanks to those who e-mailed me on the importTextData()problem. It seems that there are numerous data format issues that make the use of this method impractical for any large amounts of data.

Going on to my next problem. I am now using the ADBC data connection method. The following works fine for connecting to the data, and by using a populateForm() function, the connection statement connects and the fields in the form fill in with nill.

***********
function getConnected()
{ Mapsoft = ADBC.newConnection("Mapsoft");
statement = Mapsoft.newStatement();
statement.execute('Select * from "DATAMAST"');
statement.nextRow
row = statement.getRow();
populateForm()
}
**********
By adding the following to a next button, I am able to cycle through the records one at a time.
**********
var e;
try {
statement.nextRow();
}catch(e) {
getConnected();
}
var row = statement.getRow();
populateForm(row);
***********
I would like to select a particular record from the database without having to cycle through the records. If I add a where statement to the statement.execute above, Acrobat errors by saying uncaught exception in statement.execute.

Here is what I change the statement.execute to:
*********
statement.execute('Select * from "DATAMAST" where "A2" = "47894"');
**********

If I change the * to a particular Field name, even without the "where" clause, I still get the same error. It's like any type of query instructions cause the error to occur. I can see the data, I just can't query it. I have tried several types of query formats and still get the same error.

I am hoping this is something simple.
Any suggestions.

Thanks,
Bob


PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: Presidential finger puppets

With the presidential election approaching in a couple of months, excitement is building in the US. What could make the wait easier to bear? How about fold-them-yourself presidential candidate finger puppets?

September 04, 2008
Search Planet PDF
more searching options...




PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools enfocus

FileOpen PDFNet SDK: PDF Component. Cross-platform PDF library

PDF Converter: Create, Convert PDF to Word/Excel Solid Documents - PDF to Word Converter

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

Adobe Acrobat & PDF Central Conference 2008

September 23 - 25, 2008 - Minneapolis, Minnesota

Dedicated exclusively to Adobe Acrobat and PDF, the 2008 Adobe Acrobat and PDF Central Conference presents a unique opportunity to broaden your understanding of how PDF technologies can positively affect your business productivity.

Discover the new features of Acrobat 9 and expand your knowledge of PDF technology. Participate in various educational seminars, such as Acrobat Form Fundamentals, Acrobat Security, Creating PDF Portfolios, Scripting with the new Flash Annotation in PDF, JavaScript for Acrobat, and much more.

PDF Store Categories