Page 1 of 1

report generator

Posted: Sat Apr 03, 2010 2:47 pm
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

Re: report generator

Posted: Sat Apr 03, 2010 3:56 pm
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

Re: report generator

Posted: Sat Apr 03, 2010 5:03 pm
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

Re: report generator

Posted: Sat Apr 03, 2010 5:56 pm
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.

Re: report generator

Posted: Sat Apr 03, 2010 7:51 pm
by t57042
Thanks,
I mistakely assumed that the .rmg file was read at run time.
Richard