Page 1 of 1

FW_DbfToHTML() : Image handling capabilities

Posted: Tue Apr 13, 2021 7:32 pm
by nageswaragunupudi

Code: Select all | Expand

#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


Image

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Tue Apr 13, 2021 9:09 pm
by karinha
Very, very, very gooooooood!!

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Wed Apr 14, 2021 1:30 pm
by Otto
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

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Thu Apr 15, 2021 10:17 am
by elvira
What about Adotohtml()?

Thank you!!

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Thu Apr 15, 2021 10:21 am
by Antonio Linares
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!

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Thu Apr 15, 2021 12:32 pm
by Otto
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

Re: FW_DbfToHTML() : Image handling capabilities

Posted: Fri Apr 16, 2021 8:13 am
by nageswaragunupudi
elvira wrote:What about Adotohtml()?

Thank you!!



For recordsets not containing BLOB fields:

Code: Select all | Expand

cHtml := FW_AdoRsToHTML( oRs )


For recordsets containing BLOB fields:

Code: Select all | Expand

  cHtml := FW_ArrayToHTML( RsGetRows( oRs ), FW_RecSetHeaders( oRs ) )