Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Default dataconnection path

Not applicable
Hi Everyone

I'm having a problem with my dataconnection to an Access database. I used the wizard to create a connection and my drop-down list works fine. The problem is if I move the PDF and database to another location or folder, the connection path is no longer valid.

I remember in Visual Basic it was possible to have the data connection path default to the current folder/directory. I'm sure it's possible in JavaScript but I can't find anything to get me started.

I'm using LifeCycle in Acrobat 9 Pro. Any help would be greatly appreciated.


5 Replies
Level 10
Level 10
This is all based on the ODBC driver settings. In there is a path to the Access db and if you move it then the DSN cannot find the database.
Not applicable
Thanks Paul

I know what the problem is I just don't know if there's a method in JavaScript to make the path default to the current location.


Not applicable
Thanks for your response Paul
Not applicable

Is it possible to access database from a stand-alone PDF template.?

Please suggest me in this regard.
Not applicable

Thanks for the response but I have resolved this problem