P
Presto
I have the following in my code. It works as expected. It exports the named
table to an html file.
DoCmd.OutputTo acOutputTable, "tbl_MeetingDates", acFormatHTML,
"F:\html\MeetingDates.html"
What I would like to do is set it up to delete the old file, then export as
HTML and add my own HTML as its created.
How can I have it export basically a bunch of text - my html code - then the
table data - then the rest of the html.
I have several pages that I need to export this way and I'm placing them in
one module together since they are only used once a month.
heres a simple example of what I want to output:
<html><head><title>Our Meeting Dates</title></head>
<body><P><H2>Our Meeting Dates</H2>
<HR>
<P>
*** my table data goes here as text... ***
field1 field2 field3
<P><a href="mailto:[email protected]">Email Support</a>
</body></html>
table to an html file.
DoCmd.OutputTo acOutputTable, "tbl_MeetingDates", acFormatHTML,
"F:\html\MeetingDates.html"
What I would like to do is set it up to delete the old file, then export as
HTML and add my own HTML as its created.
How can I have it export basically a bunch of text - my html code - then the
table data - then the rest of the html.
I have several pages that I need to export this way and I'm placing them in
one module together since they are only used once a month.
heres a simple example of what I want to output:
<html><head><title>Our Meeting Dates</title></head>
<body><P><H2>Our Meeting Dates</H2>
<HR>
<P>
*** my table data goes here as text... ***
field1 field2 field3
<P><a href="mailto:[email protected]">Email Support</a>
</body></html>