Page 1 of 2

Hepl on hierarchical band Please....

Posted: Fri Sep 21, 2007 12:05 am
by Arunkumar S
I was trying to use the hierarchical band band but i am getting an error

Method: [GetItems]
Object reference not set to an instance of an object

i have one header band, and Hierarchical band. in Hierarchial band i have set the "Key Data Column", "Master Key Data Column", when i do the preview, i am getting this error.

If you have any small example for this it would be much helpful.


Hepl on hierarchical band Please....

Posted: Fri Sep 21, 2007 10:21 am
by Edward
Please see the report template in attachment. You can open it in the Demo.exe sample application.

Thank you.

Hepl on hierarchical band Please....

Posted: Fri Sep 28, 2007 6:33 am
by Arunkumar S
I was facing the same problem

Method: [GetItems]
Object reference not set to an instance of an object

and found the issue, that the column name i have given for "Key Data Column" Has the null values. so it is throwing that error. Is it Possible to fix this ?




Hepl on hierarchical band Please....

Posted: Mon Oct 01, 2007 8:54 am
by Edward
Thank you for your detailed information.

We will inform you in this topic when the fix will be available.

Thank you.

Hepl on hierarchical band Please....

Posted: Tue Oct 09, 2007 12:49 am
by Vital
Hello,

Problem fixed. Patch will be available in build from 9 Oct.

Thank you.

Hepl on hierarchical band Please....

Posted: Tue Oct 16, 2007 3:04 am
by Arunkumar S
Hello,

Thanks for the fix. Now the NULL issues got solved, but having some issues with rows at same level.

Eg: I am having 2 columns
Key Data Column: pkCallListPosition
Master Key data Column: fkParent

The problem comes when there are 2 rows at same level. I mean there are 2 employees at same level under them there are 5 employees reporting to them. We wanted these 2 should be printed contineousely and then the rest 5 (who are all reporting to the above level) to be printed. But currently, it prints the First value, and under that it prints that 5 persons reporting to them then it prints the second one but that too is not printed at the same level.

Hope following will explain the problem better.

"EmpA" & "EmpB" are in Same Level, "E1", "E2", "E3", "E4" and "E5" are reporting to "EmpA" or "EmpB". All of them are reporting to "EMP"

The Result we wanted is.
---->EMP
-------->EmpA
-------->EmpB
------------>E1
------------>E2
------------>E3
------------>E4
------------>E5

But Currently it comes like....
---->EMP
-------->EmpA
------------>E1
------------>E2
------------>E3
------------>E4
------------>E5
---->EmpB


Thanks for your support.

Hepl on hierarchical band Please....

Posted: Tue Oct 16, 2007 8:47 am
by Edward
Thank you for the bug report.

Could you please send the test project you talking about to support[at]stimulsoft.com

Thank you.

Hepl on hierarchical band Please....

Posted: Fri Oct 19, 2007 7:44 am
by Edward
Thank you very much for the test solution.

Please download the latest prerelease build. The issue is fixed.

Thank you.

Hepl on hierarchical band Please....

Posted: Mon Oct 22, 2007 2:30 am
by Arunkumar S
Hi,

Thanks for the reply. But Now with the latest build i took (Stimulsoft Reports.Net 2007.10.19 D2005), i am getting the old error.

Method: [GetItems]
Object reference not set to an instance of an object

my report is not running.

I used to get this error when my "Key Data Column" has the null values. So this time i have filtered the null rows as well, but still no luck.

Thanks.

Hepl on hierarchical band Please....

Posted: Mon Oct 22, 2007 3:36 am
by Guest
The problem is in the System.Nullable type. Your report have two variables with this type: var_Indent, var_Count. If you change this type then the report will work.

We will try to fix this issue, as soon as possible.

Thank you.