FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour design reports with WORD
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

design reports with WORD

Posted: Fri Jun 11, 2021 10:39 AM
Hello Friends,
Here you see the printout of HTML Report / i zi pi zi / from a WORD-designed report.


Documentation

https://winhotel.space/htmlreport/htmlreport.html






Best regards,
Otto
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: design reports with WORD

Posted: Fri Jun 11, 2021 03:33 PM

Dear Otto,

Good job.
It's support FWH?

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: design reports with WORD

Posted: Fri Jun 11, 2021 04:30 PM

Hello Richard,
Yes, sure. It is FIVEWIN and Fivewin-ActiceX class.
I am doing right now some test reopening the report files with Microsoft WORD.
As we use WORD daily it would be best for me to use WORD as a designer.
I noticed that I must be carefully not to have space character inside the placeholder.

Best regards,
Otto

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: design reports with WORD

Posted: Fri Jun 11, 2021 04:47 PM
Otto wrote:Hello Richard,
Yes, sure. It is FIVEWIN and Fivewin-ActiceX class.
I am doing right now some test reopening the report files with Microsoft WORD.
As we use WORD daily it would be best for me to use WORD as a designer.
I noticed that I must be carefully not to have space character inside the placeholder.

Best regards,
Otto


Sounds good.
Maybe you can design it for Excel.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: design reports with WORD

Posted: Fri Jun 11, 2021 06:20 PM

Hello Richard,
can you please post a sketch of what you want to do? Maybe it is possible.
Best regards,
Otto

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: design reports with WORD

Posted: Fri Jun 11, 2021 09:48 PM
Video showing how I use WORD for report design.
https://mybergland.com/fwforum/wordreport.mp4
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: design reports with WORD

Posted: Sat Jun 12, 2021 07:10 AM
Otto wrote:Hello Richard,
can you please post a sketch of what you want to do? Maybe it is possible.
Best regards,
Otto


Ex. Quotation form.

Customer data
Product data
Count price and total price
remark data
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: design reports with WORD

Posted: Sat Jun 12, 2021 07:14 AM
Hello Richard,
I tried to find a solution to programmatically insert, or edit, a pie chart in a Word document from EXCEL?
But I can't fine out how OLE works.
In my case, the chart is converted in an image and if I change the EXCEL file the image is not updated.
Do you have a solution for this?

Maybe as a workaround we can open WORD programmatically after the values in EXCEL are changed and confirm somehow the question if the OLE object should be updated.
Please see the gif.



Best regards,
Otto
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

Re: design reports with WORD

Posted: Sat Jun 12, 2021 07:36 AM

Richard, I've thought again now.
But I think it is best to use the FIVEWIN class for now. I think otherwise you get lost in the detail.
Best regards,
Otto

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: design reports with WORD

Posted: Sat Jun 12, 2021 03:31 PM
Otto wrote:Richard, I've thought again now.
But I think it is best to use the FIVEWIN class for now. I think otherwise you get lost in the detail.
Best regards,
Otto


Yes, I think so.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit

Continue the discussion