report generator

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 generator

Post by t57042 »

I am playing a bit with sample report-advanced 2.
It is loading a file test.rmg with the report specifications.
When I change something in test.rmg I have to recompile the
demo.prg to see these changes in the result.
When excecuting the compiled demo.exe the changes in test.rmg are not
taken into account.
Any idea why?

Thanks
Richard
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: report generator

Post by sudip »

Hello Richard,

How did you compile? With IDE or the batch file. If with IDE, have you included it in the project (perhaps it will be automatically included in the project). BTW, there is a quick and darty way, try to change the .prg file then save it and recompile :)

With best regards.

Sudip
With best regards,
Sudip
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: report generator

Post by t57042 »

Confirm, you have to include the .rmg file in the sourcefile?
This seems strange, why than put the report configuration in an
.rmg file in the first place?

I Use PSPAD and compile from there with:
C:\minigui\Build.Bat" "%Name%

Thanks
Richard
User avatar
Rathinagiri
Posts: 5482
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: report generator

Post by Rathinagiri »

why than put the report configuration in an .rmg file in the first place?
.rmg file is neither a run time file nor a user-configurable file. It is a framework for the report to be designed by the programmer himself. Definitions in this file will be included in the application file.

This is at par with the form/window definition file.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: report generator

Post by t57042 »

Thanks,
I mistakely assumed that the .rmg file was read at run time.
Richard
Post Reply