Default dataconnection path

Avatar

23-07-2008

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.



Thanks



Lane

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

24-07-2008

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.

Avatar

24-07-2008

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.



Thanks



Lane

Avatar

10-09-2008

Hi,



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



Please suggest me in this regard.

Avatar

10-09-2008

punugubati



Thanks for the response but I have resolved this problem



Regards



Lane