Focal Point
[CLOSED] FORMAT HTML IN REPORTS

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/925100423

December 23, 2009, 12:07 PM
Pronuer
[CLOSED] FORMAT HTML IN REPORTS
i have a problem report in format html

 
TABLE FILE EMPDATA
PRINT
     LASTNAME
     FIRSTNAME
     DEPT
	 SALARY 
     HIREDATE   
	 DIV
WHERE RECORDLIMIT EQ 20
WHERE DIV EQ 'WE'
ON TABLE NOTOTAL
ON TABLE HOLD AS TABLA1 FORMAT AHTML
ON TABLE SET BLANKINDENT ON
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" bgcolor="F3F3F3">
<table border="2" align="center">
<tr>
 <td width="100%">
!IBI.FIL.TABLA1;
 </td>
</tr>
</table>

</body>
</html>
-HTMLFORM END


 


this report is ok
...
but another report not working


  

TABLE FILE EMPDATA
PRINT
     LASTNAME
     FIRSTNAME
     DEPT
	 SALARY 
     HIREDATE   
	 DIV
WHERE RECORDLIMIT EQ 20
WHERE DIV EQ 'WE'
ON TABLE NOTOTAL
ON TABLE HOLD AS TABLA1 FORMAT AHTML
ON TABLE SET BLANKINDENT ON
END

TABLE FILE EMPDATA
PRINT
     LASTNAME
     FIRSTNAME
     DEPT
	 SALARY 
     HIREDATE
	 DIV
WHERE RECORDLIMIT EQ 20
WHERE DIV EQ 'CORP'
ON TABLE NOTOTAL
ON TABLE HOLD AS TABLA2 FORMAT AHTML
ON TABLE SET BLANKINDENT ON
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" bgcolor="F3F3F3">
<table border="2" align="center">
<tr>
 <td width="50%">
!IBI.FIL.TABLA1;
 </td>
 <td width="50%">
!IBI.FIL.TABLA2;
 </td>
</tr>
</table>

</body>
</html>
-HTMLFORM END





reports are not displayed in html

This message has been edited. Last edited by: Kerry,


WebFocus 7.6.9
Windows
HTML
December 23, 2009, 12:32 PM
susannah
that's right.
only one Active per output page.
loaded with javascript, so can only be 1




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
December 29, 2009, 05:26 AM
philippe@Nantes
HI,
This comes with your ON TABLE HOLD sentence.
Just change your AHTML FORMAT with HTMTABLE FORMAT and it will works.


WebFocus thru Dev Studio version 7.6.11
Dev Studio on Windows Xp, Webfocus Client on UNIX basing on TOMCAT and DB2,
Reporting Server on MVS , USS and on UNIX