FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HTML template
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
HTML template
Posted: Mon Sep 24, 2018 08:22 AM

It'is possible from a fwh prg open a Html ( template) and insert data from dbf ?
sample

<table width="100%" border="0" cellpadding="5" cellspacing="3">

<tr>
<th align="center"> <b>{!#1503!}</b></td>
</tr>

{INSERTTABLE}

</table>

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 85
Joined: Wed Nov 19, 2014 01:04 PM
Re: HTML template
Posted: Mon Sep 24, 2018 11:04 AM

Dear Silvio

I use like

nHandle2:=fcreate("C:\PROGRA~1\APACHE~1\Apache2\htdocs\report2.html",FC_NORMAL)
txt2:=strtran(txt2,"{{cPageTitle}}","Sale and Order Report Dt:"+dtoc(dDt))
txt2:=strtran(txt2,"{{SERVERSTATUS}}","Server Online Last update "+time())
fwrite(nHandle2,txt2)
fclose(nHandle2)

Regards
Yunus

Regards

Yunus



FWH 21.02
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: HTML template
Posted: Mon Sep 24, 2018 11:34 AM

THANKS

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: HTML template
Posted: Tue Sep 25, 2018 11:51 AM

I NOT FOUND FCNORMAL value

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: HTML template
Posted: Tue Sep 25, 2018 12:34 PM

Please include fileio.ch.

EMG

Continue the discussion