report generation

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

report generation

Post 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
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: report generation

Post 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).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply