Page 1 of 3

/ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Wed May 19, 2021 1:16 pm
by Otto
Image

A catchy project name and an appealing logo are not pure luxury but a helpful marketing tool.

/ɪːzɪˈpɪːzɪ/
easy-peasy | adjective | British informal

very easy; presenting no difficulty at all

The reports are easy-peasy to make.
You can use any HTML editor or WYSIWYG HTML editor - for example WORD - to create /ɪːzɪˈpɪːzɪ/ reports.

/ɪːzɪˈpɪːzɪ/ report definition files are HTML files.
/ɪːzɪˈpɪːzɪ/ report works with with Fivewin and mod harbour.

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Wed May 19, 2021 3:36 pm
by Otto
Word for designing

Image

source code

Image

preview

Image

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Wed May 19, 2021 4:47 pm
by Otto
table header - table is autosizeing

Image

Here I add some styles
cHtml += memoread(".\tagesGaesteListe\tablestyle.html")


Image

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Wed May 19, 2021 10:23 pm
by Marc Venken
Otto,

Is there a option to show HTML code insite a dialog in Fivewin. I haven't looked yet at the forum posts, but for now I only would like to show
a dialog or frame with the formatted html code (the result, what we see when it comes online)

I generate html code from FW functions (not mod), but I would like to see the result in a frame or dialog

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Wed May 19, 2021 10:48 pm
by Otto
Hello Mark,
Please see this sample from FWH.
C:\FWH\samples\webexp2.prg
Best regards,
Otto

Code: Select all  Expand view

// Using an ActiveX in a dialog.

#include "FiveWin.ch"

function Main()

   local oDlg, oActiveX

   DEFINE DIALOG oDlg RESOURCE "Test"

   REDEFINE ACTIVEX oActiveX ID 10 OF oDlg PROGID "Shell.Explorer"
   
   oActiveX:nDlgCode = DLGC_WANTALLKEYS
   
   ACTIVATE DIALOG oDlg CENTERED ;
      ON INIT oActiveX:Do( "Navigate2", "http://www.google.com" )

return nil

 

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 8:47 am
by Marc Venken
Otto, these show html from internet site and link to it.

(This question is also posted on a new function of Mr Rao from yesterday)

Can we use this maybe for this purpose ?

I want to show the composed html code that sits insite a memo field from a Xbrowse, so when i move in xbrowse , the html should also be repainted. in the dialog on a fixed say control maybe

Mostly I found html vieuw options for websites ...

screen = xbrowse and a say control.

Het html will be mostly small table data that shows some product options.


<table class="styled-table"><br><thead><br><tr><br><th>Catalogus</th><br><th>Omschrijving</th><br><th></th><br></tr><br></thead><br><tbody><br><td>De &#39;European Textile Catalogus&#39; Topcatalogus voor promotionele kleding</td><br><td></td><br></tr><br><tr><br><td>De &#39;Textile Europe&#39; top catalogus voor promotionele kleding<br /><br>&nbsp;</td><br><td></td><br></tr><br><tr class="active-row"><br><td>De &#39;Printwear&#39; catalogus.&nbsp; De referentie voor promotionele textiel</td><br><td></td><br></tr><br></tbody><br></table>

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 11:01 am
by Otto
Hello Mark,
I am sure you can do this.
But I think you should program it as a mod harbour application that you run in localhost.

The / i zi pi zi / report definitely understands your file.

I think the <br> you are using will all be pulled together and executed at the top of the table.
The table is held together and not interrupted by <br>.

Here you see how / i zi pi zi / links in your table into the report.
cHtml += memoread(".\tagesGaesteListe\markhtm.html")


Best regards,
Otto


Image

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 5:37 pm
by elvira
Very nice!!!

Will you share source code or you want money?

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 7:58 pm
by Otto
Hello elvira,

Thanks for your kind words.
Sure, I'll share my code for free.
But give me a few more days.

At the moment there is no interest besides you and Cristobal.
If it stays that way, I'll give you a private download link.

Do you already have experience with HTML and CSS.
It is unlikely how easy it is to use / i zi pi zi / to create truly professional reports.

Best regards,
Otto

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 8:10 pm
by Otto
before - afterwards ( EasyReport - / i zi pi zi / Report)

Image

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Thu May 20, 2021 10:49 pm
by TimStone
Otto,

I'm following this, but so far I don't see enough to know if I can use it. I see the result, but not the tool.

Interested ? Perhaps, but I need to know more.

Tim

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Fri May 21, 2021 6:07 am
by Otto
Hello Tim,
Thank you. How do you mean tool?

Can you maybe post one of your reports?
Then I could try to recreate this with / i zi pi zi /.
Tool
It depends on what you want to do.
You can use Word or any other HTML editor, or just HTML code.
Here I tested to replace an oReport.

See report.prg in the Fivewin samples and compare this new code and the result.

Image

Image


This is the sample I started.

Image


Best regards,
Otto

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Fri May 21, 2021 6:22 am
by Otto
Tim,
Look how easy-peasy you can achieve great effects. The source code is also easy to understand. For example,
I mark all names that begin with "L".
Best regards,
Otto


Image

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Fri May 21, 2021 9:59 am
by Marc Venken
Now i see the potential of it ! Since the html laytout's can be anything from html code you can make stunning reports.

We could even make a xbrowse with the data (dbf-fields) and the html tag's, so that the prg code will be less in writing...

Was there anything needed for setup to jump into this project ? In FWH, NOT MOD

Re: /ɪːzɪˈpɪːzɪ/ Reportgenerator for FIVEWIN and mod harbour

PostPosted: Fri May 21, 2021 10:54 am
by Otto
Mark, No nothing. We just didn't see the potential.

The big advantage is that we can use the reports both in Fivewin and with mod Harbor.

Please see the attached screen. Here the same report is opened via the web browser.

Image