These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

ADBC is not working with Acrobat reader. (ReferenceError: ADBC is not)

neo_canes
Registered: May 30 2008
Posts: 10

Hi,

I have created one small application in Acrobat 3D 8. In that application I am reading data from the ACCESS database file using ADBC method.
It works fine in Acrobat 3D 8 but it gives an error in Acrobat Reader 8 if Acrobat 3D or Acrobat Professional is not installed on the machine.

It gives the following error.
ReferenceError: ADBC is not defined.

To use ADBC is it require to have Acrobat 3D or Professional installed on client machine?
Can I run ADBC application on Acrobat Reader 8.1.2 without installing Acrobat 3D or Acrobat Professional?

Regards,

My Product Information:
Reader 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The ADBC object should not work in Reader at all. If it does work in Reader, then something is wrong, because Reader does not impliment this functionality. Look in the Acrobat JavaScript Reference. The last column of the Rights Bar for ADBC has an X in it.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

neo_canes
Registered: May 30 2008
Posts: 10
Hi,

Is there any other way to Connect to any database or XML file in Acrobat reader java script without installing Acrobat professional or Acrobat 3D?

Please help me.

Thanks
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Local database access is generally considered an activity useful only for document designers. The people in a single environment who are responsible for some stage for document creation. Those people should all have Acrobat standard or professional since you can't do document development on Reader. Local DB access is not something that would be suitable for a distributed document.

But if you are trying to get around buying Pro or Standard there is a way to access a local DB indirectly. Reader can communicate freely over the internet using HTTP through the "doc.submitForm()" function.

First, you have to setup a local server. Then write a server script that communicates with the PDF and the DB. It's the long way around.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script