DOES ANYONE KNOWS THE ANSWER ?

DOES ANYONE KNOWS THE ANSWER ?

Postby HunterEC » Fri Oct 28, 2011 12:35 am

Antonio, Rao, Uwe & guys:

Three topics I need help.

A. How can I do this with DEFINE REPORT...

I need to code the following report but I don't know how:
I'm using 3 files:
a. Inventory
b. Sales
c. Purchases
The report should display the following:

Item 1: Inventory description + other inventory data
Group (with totals) all transactions from the sales file
Group (with totals) all transactions from the purchase file

Item 2: The same layout.


B. Where I can get the syntax of the SetGetColorFocus() function ?

C. Why on a report header the accented characters ó é, etc. display weird characters instead of the correct ones ?

Thank you for your help.

HunterEC
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: DOES ANYONE KNOWS THE ANSWER ?

Postby Antonio Linares » Fri Oct 28, 2011 3:54 am

Gustavo,

b) http://wiki.fivetechsoft.com/doku.php?id=fivewin_function_setgetcolorfocus

c) Please try to use OemToAnsi( cText ) for accented characters
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DOES ANYONE KNOWS THE ANSWER ?

Postby James Bott » Fri Oct 28, 2011 7:07 am

Hunter,

First all the files must have fields that will allow you to link them, e.g. partNo. Then open all three files and either use relations or use the oRpt:bSkip codeblock to keep all the files in sync. I use the codeblock and database objects myself.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: DOES ANYONE KNOWS THE ANSWER ?

Postby TimStone » Fri Oct 28, 2011 5:15 pm

Maybe you don't need the report class. You can design amazing reports using the printer class and normal FWH code. You can blend data from multiple databases, have structured layouts, do calculations, and everything, and probably much easier then trying to adapt a report.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests