HTML template

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

HTML template

Post by Silvio.Falconi »

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>
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
dagiayunus
Posts: 69
Joined: Wed Nov 19, 2014 1:04 pm
Contact:

Re: HTML template

Post by dagiayunus »

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
Dagia Yunus.
Rajkot, India

FWH 17.04
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: HTML template

Post by Silvio.Falconi »

THANKS
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: HTML template

Post by Silvio.Falconi »

I NOT FOUND FCNORMAL value
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply