G
gbotica
Guest
Hi,
I am building an Access database, that I need to
use to generate flat (i.e. no ASP or any dynamic server
hosting available) html files.
The html pages are simple list type view, with records in rows. I need to be able to click a link in each record row and see a
detail view.
The data will be managed within Access (edited etc), with
forms, and sub-forms I've made - this all works fine.
I have built 2 reports (list view, detail view) in the format I need for the html pages, and have built an export button to run the
OutputTo function, and generate the html pages.
All this seems to be working very well, but I cannot
figure out how to generate the hyperlinks on the list
view html page, with the necessary (relative) path to the
correct detail view html page.
Firstly, Access does not seem to let me have any control
over the full filenames of the html pages it generates,
they are just '[reportname]Page1.html' , '[reportname]
Page2.html'...etc
So i tried adding a text box on the report with the value
set to ="CourseDetailPage" & [CurrentRecord] & ".html" ,
and set its hyperlink property to true. This looks
perfect on the report, but when i export to html it's not
a link, it's just underlined blue text? How can I bind
this expression to a text box, and have it work as a link
in the html file?
Using the Insert Hyperlink command doesn't work either
because, i cannot bind an expression to the hyperlink
property.
is there a way to create linked pages in flat html files?
with links auomatically made?
I could easily make the course code number field on the
report a hyperlink, and it works as a link on the output
html file, but I have no control over what all the detail
view pages are called, so they are not named
course_code.html. Doing a batch rename of all the files
after the export would not work as the course codes are
non-sequential 5 digit numbers.
Can anyone help with this problem? I would be very
appreciative of assistance, I will gladly elaborate if I
have not explained it well.
thank you
I am building an Access database, that I need to
use to generate flat (i.e. no ASP or any dynamic server
hosting available) html files.
The html pages are simple list type view, with records in rows. I need to be able to click a link in each record row and see a
detail view.
The data will be managed within Access (edited etc), with
forms, and sub-forms I've made - this all works fine.
I have built 2 reports (list view, detail view) in the format I need for the html pages, and have built an export button to run the
OutputTo function, and generate the html pages.
All this seems to be working very well, but I cannot
figure out how to generate the hyperlinks on the list
view html page, with the necessary (relative) path to the
correct detail view html page.
Firstly, Access does not seem to let me have any control
over the full filenames of the html pages it generates,
they are just '[reportname]Page1.html' , '[reportname]
Page2.html'...etc
So i tried adding a text box on the report with the value
set to ="CourseDetailPage" & [CurrentRecord] & ".html" ,
and set its hyperlink property to true. This looks
perfect on the report, but when i export to html it's not
a link, it's just underlined blue text? How can I bind
this expression to a text box, and have it work as a link
in the html file?
Using the Insert Hyperlink command doesn't work either
because, i cannot bind an expression to the hyperlink
property.
is there a way to create linked pages in flat html files?
with links auomatically made?
I could easily make the course code number field on the
report a hyperlink, and it works as a link on the output
html file, but I have no control over what all the detail
view pages are called, so they are not named
course_code.html. Doing a batch rename of all the files
after the export would not work as the course codes are
non-sequential 5 digit numbers.
Can anyone help with this problem? I would be very
appreciative of assistance, I will gladly elaborate if I
have not explained it well.
thank you