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

How to use Hyperlink/button to retrive local file


Level 2


I want to retrive a file which is present in server/local drive by clicking the hyperlink/button in designer .

I am taking a sub form which the data will be populated through webservices if there are 2 names it will dispaly as below and if there are 10 names it will display 10 different names adjucent to 10 different file with their location.

By clicking the url it should open the required PDF/file


Name        URL

aaaaa         c:\aaa.pdf

bbbbbb       C:\bbb.pdf

My question is:

1. how do we open files which are present in perticular location , I  had tried with  followingcode in  Click event by making button hidden but didnt work"C:\Documents and Settings\Desktop\Subba.txt");

app.openDoc("C:\Documents and Settings\Desktop\Subba.txt");

Please let me know what is worng in my code

Thanks in advance,


0 Replies