Page 1 of 1

[ SOLVED ] HMG 3.4.3 BASE/1132 ERROR SUDDENLY APPEARS

Posted: Sat Aug 06, 2016 7:34 pm
by pdhana
Hi All,

[ SOLVED ] ==> The issue is some thing to do with reports.cfg generated by print grid(hfcl\Source\GridPrint.prg). I have deleted the file and re-run my report and it went successfully.
Error Message
~~~~~~~~~~~~
Called from PRINTGRIDINIT(2426)

\HMG\343\hfcl\Source\GridPrint.prg - piece of code causes the issue
printgrid.header2.value := iif(HMG_LEN(alltrim(header2)) == 0,gridprintdata[2,2],header2)

in turn referring this data ...
ln#2394 get gridprintdata[2] section windowname+"_"+gridname entry "gridprintdata2"
I'm developing a small application in HMG 3.4.3 Unicode Version. Suddenly i'm encountering BASE/1132 error in GRID PRINT. All my report grid report is throwing the same error. I've attached the screen shot. I searched at forum and google groups but could not find the solution. Tried multiple options but ended with the same result.

Grid has very small array ( 5 rows 3 cols ) Only.

Can any one assist ? Thanks in Advance.



#HBMK2 PARAMETERS#

-gui
-w3 -es2
-o"db.exe"

Cheers
Dhana

Re: [ SOLVED ] HMG 3.4.3 BASE/1132 ERROR SUDDENLY APPEARS

Posted: Sun Aug 07, 2016 3:05 am
by Rathinagiri
Thanks for reporting Dhana.

PrihtGrid has to be revamped. I will try to do that.

Re: [ SOLVED ] HMG 3.4.3 BASE/1132 ERROR SUDDENLY APPEARS

Posted: Sun Aug 07, 2016 8:59 am
by pdhana
Thanks Rathi. Yes, It would be great, if you can do that.

Cheers
Dhana

Re: [ SOLVED ] HMG 3.4.3 BASE/1132 ERROR SUDDENLY APPEARS

Posted: Sat Oct 15, 2016 10:50 am
by PeteWG
Rathinagiri wrote: PrihtGrid has to be revamped. I will try to do that.
Hi Rathi,

"PrihtGrid" is a blessed piece of code, invaluable in the the difficult area of windows printing.
It indeed makes our life easier --I speak for myself but I believe many would agree on that.
A "big thank!" is the least I can say.

In case you plan to update/refresh it, I have some thoughts that I'd like
to propose here (you decide if and what is doable.)

=> Do it to be "version neutral". What I mean with that is,
- make it to work on any minigui version, Official and Extended.[*][/b]

=> Add option/ability:
- to select what columns will be printed (important)
- to define the height of rows
- to define the position and the font type/size of the main headers (left, center, right)
(and if possible the headers of columns, also)

(that's for now, but I'm sure have forgotten something, so perhaps I'll come back .. :-))

regards,

---
Pete

_________________________________________________________________
[*][/b] I always was a proponent of unification of the two versions,
(we use an ancient dictum in my "village", that says "in the unity is the power")
but as usually, things rarely follow our wishes. Anyway..

Re: [ SOLVED ] HMG 3.4.3 BASE/1132 ERROR SUDDENLY APPEARS

Posted: Sat Oct 15, 2016 2:26 pm
by Rathinagiri
Thanks a lot Pete for giving ideas and suggestions. Believe it or otherwise, GridPrint code had not been touched for more than 4 years! Recently I had made changes just to enable Unicode functionality. There are many new features available which has to be implemented in GridPrint like

- Various GUI improvements
- PDF printing, HTML export, CSV export etc.,
- Printing multiple grids
- Possibility of Grouping - sub-grouping with group headers from the Grid Data
- Better Preview (Using BosTaurus)
- Charts
- Even Pivot Tables/OLAP datacubes for analysis!

I invite more suggestions from users like you.