Mask HTML code on the form

ilyavol

New member
Local time
Today, 00:07
Joined
Jun 25, 2001
Messages
5
I have am access database that I'm moving to ASP and have started to add HTML formated records to it. Some people, however, still neeed to see those records without the HTML formating from ACCESS. Is there anyway to mask out the HTML code (let's say I will know what the tags will be) from view without changing it?
 
Why not do your HTML formatting in the ASP page? Have you tried formatting it inside an Access Query and then connecting the ASP page to the query? I have never tried it but I think it would work.

For instance you have a field named FirstName you could write the query like this.

webFirstName: "<b>" & [FirstName] & "</b>"

Although that would probably work I am still not sure why you are not doing the formatting in the page.

HTH!
 
I'm am formating individual fields the way you sudgest, in the code of the ASP. However, in this instance instead of keeping track of 20 fields that aren't really important past the input form I just concat them into one Memo Field. This is formatted and aligned using HTML codes and looks nice on the page, but not on the reports. I've since given up on that, though and just put them in as plain text for now, until I move the admin functions to the web as well.
 

Users who are viewing this thread

Back
Top Bottom