Hello Master Roberto,
I found one problem with Report Generator using Array.
When number of rows is 1, it shows nothing.
Please check following code, derived from \HMG\Samples\Report.Advanced.8
Thanks in advance.
With best regards.
Sudip
Report Generator Problem
Moderator: Rathinagiri
Report Generator Problem
With best regards,
Sudip
Sudip
Re: Report Generator Problem
Hello Sudip,sudip wrote:Hello Master Roberto,
I found one problem with Report Generator using Array.
When number of rows is 1, it shows nothing.
Please check following code, derived from \HMG\Samples\Report.Advanced.8
I confirm this problem with one element array in your sample
Take a look for two changes in your demo.rmg as workaround:
Code: Select all
...
* Report Data Environment *************************************
BEGIN DATA
ITERATOR i++
STOPPER i == len(aRows) +1 //20 <-- (1)
END DATA
...
* Summary Band ************************************************
BEGIN SUMMARY
BANDHEIGHT 50
BEGIN TEXT
EXPRESSION 'Total Records: ' + Str(--i) // <-- (2)
...
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: Report Generator Problem
Thanks a lot Grigory
It saved my day's work (I am working on an add on project with HMG for my old VFP app)
With best regards.
Sudip
It saved my day's work (I am working on an add on project with HMG for my old VFP app)
With best regards.
Sudip
Last edited by sudip on Thu Nov 05, 2009 1:42 pm, edited 1 time in total.
With best regards,
Sudip
Sudip
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: Report Generator Problem
Sudip, Grigory,
Thanks for the report and sample.
I'll take a look at it ASAP.
Thanks for the report and sample.
I'll take a look at it ASAP.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)