By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,098 Members | 936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,098 IT Pros & Developers. It's quick & easy.

HTML Template File Name Question

P: n/a
To all,

I am using a macro in Access 2000 to run a report, merge the
results with an HTML template, and store the results. All of this
works fine as long as the "Template File" field contains a standard
file path name, like "C:\folder\template.html". However, I would like
to specify a path to our intranet Web server as a URL, like
"our.intranet/folder/template.html". When Access cannot locate the
HTML file, it simply outputs the report without it. This is what
happens when I try to use the URL. I have tried prefixing the URL with
"//" and "http://" and other variations without success.

Is there a special format needed to do this? Or does the path have
to be to a file server versus a Web server?



Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
try file://path...

http: won't work unless you are using a hypertext transfer protocol
source such as a web-server. intranet sources should fit the
file://path... protocol. i've never used an HTML template with access,
so i don't know if that'll work or not, but it's worth a shot.

if you have the file on an ftp somewhere you could also use ftp://

you might have to tinker with the forward slash backslash thing and
possibly escape any abnormal characters like spaces with %20 and such.
if it works shoot me an e-mail at ja*************

Nov 13 '05 #2

P: n/a

Thanks for the reply. I believe I tried that too. I can't test it
now as the DB is at work and I'm not! (I should have brought it home,
huh?) Anyone know for sure?


Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.