Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display HTML in a access Report

Status
Not open for further replies.

sg105

Programmer
Sep 13, 2005
5
GB
Hi All,
I want to know is it possible to display static HTML content on a report inside an access database. i have a system online where users insert formatted text using HTML. i want to display this content in a report when it is printed out.
Is this possible
 
i still haven't worked this out. i know it is possible to use ADP to load the information but is it possible to display Static HTML in a Access standard report
 
Did you mean to display HTML code as it is in the report? like
Code:
<!doctype html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml">[/URL]
<head>
	<title>Microsoft: Access  Reports - display HTML in a access Report</title>
	<link rel="stylesheet" type="text/css" href="/css/frame.css">
	<link rel="stylesheet" type="text/css" href="/css/main.css"><link rel="stylesheet" type="text/css" href="/css/tgml.css">
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<script language="javascript1.2" src="/jsource.js" type="text/javascript"></script>
<SCRIPT LANGUAGE="javascript">
function gofaq(pid,fid) {
	var theURL = "faqs.cfm?pid="+pid+"&fid="+fid; window.top.location.href=theURL;
}
If this is correct then you should store your code in a memo field. can be then displayed in the report. Set CanShrink/CanGrow = Yes
hope this helps

________________________________________________________
Zameer Abdulla
Help to find Missing people
You may be the boss' pet; but you are still an animal
 
Sorry Zameer i did not explain what i wanted correctly. I want the HTML to be rendered on the screen. i want what you see in the browser to be displayed on the report.

Any more suggestions

Simon Green
 
Sorry.., I am not aware of anything for this purpose.
may be some one else can help you.


________________________________________________________
Zameer Abdulla
Help to find Missing people
You may be the boss' pet; but you are still an animal
 
i'm still trying to work out how to do this. Again what want to do is to render html inside one of my Reports
 
I'm just throwing this in, maybe you can export the html part as an html file and then show that file in a subreport.

Just thinking with you, it's an interesting issue.

Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top