FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FW_DbfToHTML() : Image handling capabilities
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FW_DbfToHTML() : Image handling capabilities
Posted: Tue Apr 13, 2021 07:32 PM
Code (fw): Select all Collapse
#include "fivewin.ch"

REQUEST DBFCDX

function Main()

   USE WWONDERS VIA "DBFCDX"
   MEMOWRIT( "c:\fwh\samples\wwonders.html", FW_DbfToHtml() )
   CLOSE DATA
   HTMLVIEW( "c:\fwh\samples\wwonders.html" )

return nil


Regards



G. N. Rao.

Hyderabad, India
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Tue Apr 13, 2021 09:09 PM

Very, very, very gooooooood!!

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Wed Apr 14, 2021 01:30 PM
Dear Mr. Rao,
I tested your program with mod harbour. All is working fine.
You can access it from here:

https://winhotel.org/mssql/hrbmssqw.prg

Best regards,
Otto
Posts: 518
Joined: Fri Jun 29, 2012 12:49 PM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Thu Apr 15, 2021 10:17 AM

What about Adotohtml()?

Thank you!!

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Thu Apr 15, 2021 10:21 AM
Otto wrote:Dear Mr. Rao,
I tested your program with mod harbour. All is working fine.
You can access it from here:

https://winhotel.org/mssql/hrbmssqw.prg

Best regards,
Otto


Dear Otto,

Please post here hrbmssqw.prg source code, thank you!
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Thu Apr 15, 2021 12:32 PM

Dear Antonio,
We will post the source code but we need some time to improve.
At present, the html code is specific to this particular table and works only fo jpg.

Best regards,
Otto

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: FW_DbfToHTML() : Image handling capabilities
Posted: Fri Apr 16, 2021 08:13 AM
elvira wrote:What about Adotohtml()?

Thank you!!



For recordsets not containing BLOB fields:
Code (fw): Select all Collapse
cHtml := FW_AdoRsToHTML( oRs )


For recordsets containing BLOB fields:
Code (fw): Select all Collapse
   cHtml := FW_ArrayToHTML( RsGetRows( oRs ), FW_RecSetHeaders( oRs ) )
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion