Hello,
I am trying to connect to an access DB with Acrobat 5. I used the code below, but got the following error - ReferenceError: stmt is not defined undefined. Can you tell me how to connect to access DB in Acrobat 5?
var conn = ADBC.newConnection( "PAF" );
var stmt = conn.newStatement(); // create a Statement Object
if (conn == null)
throw "Null Connection Object";
if (stmt == null)
throw "Null Statement Object";
stmt.execute( "SELECT * FROM Positions" ); // issue SQL query
before this line:
var stmt = conn.newStatement(); // create a Statement Object
The problem is probably that the connection to the database fails.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com