Page 1 of 1

report generation

Posted: Tue Mar 30, 2010 10:05 am
by t57042
When browsing the hmg samples I noticed there is a difference in syntax between the 'basic report' demos and the 'advanced demos'.

Can someone explain the difference? Are these 2 different report engines?

Where can I find the syntax for the RPT file for the basic reports?

Thans - Richard

Re: report generation

Posted: Tue Mar 30, 2010 11:58 am
by Roberto Lopez
t57042 wrote:When browsing the hmg samples I noticed there is a difference in syntax between the 'basic report' demos and the 'advanced demos'.

Can someone explain the difference? Are these 2 different report engines?

Where can I find the syntax for the RPT file for the basic reports?

Thans - Richard
Yes, they are different report engines.

The first is a superb work from Ciro Vargas Clemow, implemented trough the DO REPORT command.

This report generator is 'tabular format' (Clipper style) format.

It is very easy to use and powerful.

The second is 'band oriented' (FoxPro/Access style) and it is implemented via DEFINE REPORT command.

Both allow to define the reports in source code along the program or via an external file.

Both are documented in HMG reference (\doc\hmgdoc.htm) and in the samples (\samples\report*).

IDE allows to create and modify reports via a builder (wizard).