Link to home
Create AccountLog in
Avatar of iceman_dci

asked on

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?
Avatar of stevbe

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>
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account