Outputs the opening tags for the ReportLayout page
Syntax
CALL SEND(OBJID,'_OUTPUT_HDR_',url,background-type,background-value);
Where... |
Is Type... |
And Contains... |
url |
C |
the Broker component of the URL. |
background-type |
C |
the background type (COLOR or IMAGE). This parameter is optional. |
background-value |
C |
the background value. This parameter is optional. |
Example
The following output is produced:
<HTML><HEAD><TITLE>MDDB Report Viewer Layout</TITLE>
<script language="javascript">
function List(list) {
for (key in list)
if (list[key] != null) this[key]= list[key];
}
selected= new List;
selected2= new List;
function change(select) {
if ((navigator.appName == "Netscape" &&
navigator.appVersion.indexOf("3.0") != -1) ||
(navigator.appName == "Microsoft Internet Explorer" &&
navigator.appVersion.indexOf("4.0") != -1)) {
options= new Object;
for (i= 0; i < select.options.length; i++) {
options[select.options[i].text]=select.options[i].value;
selected[select.options[i].text]=
select.options[i].selected ? select.options[i].value : null;
}
selected= new List(selected);
select.options.length= 0;
for (key in selected)
select.options[select.options.length]=
new Option(key, selected[key], false, true);
for (key in options)
if (selected[key] == null)
select.options[select.options.length]=
new Option(key, options[key]);
}
}
function update() {
str= "";
for (key in selected)
str= str + key + ",";
if (str.length)
document.form.order.value= str.substring(0, str.length - 1);
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR=white>
<CENTER>
<TABLE CELLSPACING=1 BORDER=1>