MS ACCESS Web Form - command button to open document from record

I have a form that I've converted over to HTML, but now some of the commands don't work bcs its obviously in a differnt language (originally done in VBA through Access).

The code that I was using to open a document link from the record was using the followhyperlink method...code i was using here...Application.FollowHyperlink txtFilePath <where txtfilepath is in the record as tblRecord / Document Link column.

How would I do this in HTML?
Who is Participating?
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
No points for me:

When you convert to a Web Form (or Data Access Page, as I believe they're called) then basically Access simply creates a standard HTML form that displays your data ... so, as Steve points out, you can use any web-based language on that form/page.
I think if you just make that data a hyperlink ref on your web page you will not have to do anything ... the file should just open.

<a href="file://c:/book1.xls">book1</a>
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.