nested reports in nested report
Hi, I have a report with a nested dw in a nested dw.
I would like to change som properties of both datawindows/reports (width and
moving som columns - it's a grid report)
But how do I reference the nested report. I cant use GetChild (fails as it
is not a Composite). I have managed to get the to the first report and
change the width of i with the syntax
dwo_1 = dw_report.Object.dw_1
dwo_1.width = 3000
But trying to get to the next level this fails, i.e. i tried
dwo_2 = dwo_1.Object.dw_2 // fails at runtime
Does anyone have a sugg...Nested Report (is a row in a nested report)
I want to find out if there is a row in a nested report.
I tried the following statements:
la_data=ldw_report.Object.Data // this statement fails, if
there is no row
if UpperBound(la_data) > 0 then ...
IF ldwc.RowCount() > 0 THEN .....
> I want to find out if there is a row in a nested report.
> I tried the following statements:
> dwobject ldw_r...Nested report inside nested report
Has any one tried to put and populate a nested report inside
already existing nested report?
Yes, What problems are you having?
Just retreive the main report and the nested - nested
report will retrieve.
> Has any one tried to put and populate a nested report
> inside already existing nested report?
...GetChild on Nested Report that contains Nested Reports?
I have a composite report that contains five nested reports. One of the
nested reports contains nested reports within it. GetChild does not work on
this NR. This was listed under the GetChild help.
Nested reports: You cannot use GetChild to get a reference to a report in a
composite DataWindow when the report itself is a composite or nested
I need to get a handle to this NR so I can apply translations. Any ideas?
There are multiple rows, therefore PB doesn't know
which nested report to apply the change to.
What type of change are you doing?
> I hav...Getting rowcount from a nested nested report.
I have a Datawindow with a nested report dw_1. Within the nested report I have
another nested report dw_2. How can I find the rowcount of dw_1 and dw_2.
I am trying to see if any records are found if not I need to display a message
stating now records found in dw_2.
Any help would be great!
---== Posted via the PFCGuide Web Newsreader ==---
What if you put a static text "No Data Found" in the background layer, where
it would not be seen unless there was no data to cover it up? Or maybe give
it a vi...Nested report does not line op to the previous nested report
I have a problem with lining up nested report.
I created a composite report with 4 nested reports. The fist nested report
is a free form report. The 2nd, 3rd and 4th report are grid reports. The 2nd
grid report line up directly to data show in the 1st report. But 3rd and 4th
report each start on a new page. But I do not want this.
I want to line them up like 2nd report to the 1st report..
How can I solve this problem?
I checked if the new page property is set for the repport, but this is not
the case. They all have property 'autosize heigth' and 'slide dir...GetChild returns -1 with nested reports in nested reports
We have a composite datawindows with 4 reports. One of the reports has 2
When we use GetChild to get a reference to the 4 reports, the report with
the nested reports
When we remove the nested reports all works fine.
Is this normal behaviour or a bug??
We're using PB5.0.02.
Hans Groeneveld, TSD Automatisering B.V.
Hans Groeneveld wrote:
> We have a composite datawindows with 4 reports. One of the reports has 2
> nested reports.
> When we use GetChild to get a reference to the 4 reports,...Composite Report
Hi! I need help, if you have a minuute....
I have a composite report (i.e. the 'base report') that
accesses a database. The two columns retrieved are used by 3
'nested reports' in the bases' detail band. I can't figured
out if any of the 3 nested reports actually return any data
- within a script I want to determine this, if I look at it
I can tell. ;->
Any way to find out if any rows were returned for my nested
report objects? I see that the report object of a datawindow
doesn't have a property to tell if rows were returned.
Any ideas? Thanks f...Datawindow rowcount() with nested reports
I have a datawindow which consists of 4 to 5 nested reports. Within a
script, I need to determine if any data was retrieved for the datawindow
after the retrieve() function is performed. In a regular datawindow, I can
use the datawindow rowcount() function. This does not seem to work for
datawindows consisting of nested reports. (It always returns 1 regardless
of the amount of data returned.)
Is there a method of determining the number of rows retrieved for a
datawindow of nested reports? If not, is there a method to determine if any
data has been retrieved.
I am using versio...Nested Reports
Does anyone know how to add a pagebreak between 2 pre-defined nested
= Nested report retrieving some date =
<---- I want
to insert a page break here.
= List of services for the report =
---------------------------------------------------...Problem Created Nested Report Object On Report DataWindow
I'm using PB703 Build 10213.
I face a problem creating a Sub-Report Object on an existing Report Data
When ever I try to do this the system crushes.
I also tried to copy an existing sub-report object from another datawindow.
In this case the system does not crush, but all columns on the main
datawindow, having a ddlb edit style, loose the ddlb information. (Even if
you define them again, when you close & reopen the datawindwo, they are
Any help appreciated
Thanks In Advance
...Reference a datawindow object (nested report) in a datawindow
Is it possible to reference a datawindow object in a datawindow?
My scenario :
I have a datawindow (composite) which holds another datawindow (nested
This child datawindow has a OLE ActiveX object which I am trying to access
from the window which holds the composite datawindow.
The reason for this is because I need to access the ActiveX
properties/functions after the composite datawindow have been retrieved.
I've tried to get a reference to the child datawindow :
But as datawi...Re: Nested Datawindow Report (Datawindow Printing)
Does anyone know if this problem has been corrected in PB 8
or 9? Please advise. I am currently using PB 7.
Problem: In case of large text fields, PowerBuilder not
printing the Data correctly. Lines are cut in half and also
not printing last few lines . This is happening on nested
Here is the link to the original documentation:
Original documentation :-) states that this is not a bug but expected
behaviour, so what kind of "correction" do you expect?
Philip ...Nested Reports RowCount
How do I access the number of rows in a Nested Report? Or, how can I=20
determine if a column in a row in a Nested Report is null?
I have tried to find the number of rows using dot notation, but I can=B4t=20
find out the right syntax.
I also tried to use GetChild to access the Nested Report but =EDt didn=B4t =
Is this right ?:
ll=5Frows =3D ldwc=5Fchild.RowCount()
Thanks in advance
I can't find the refer...RowCount of Nested Report???
does anybody out there know if there's a way to
get the RowCount of a nested report (in the detail band)
after having retrieved the data?
i.e. if you have a DataWindow dw_1 with a nested report
called nr_1, what i would like to know (for a certain
... of course, it doesnt work that way, but
is there a way at all? We already have tried
One way was to assign
l_long = dw_1.object.nr_1[ROW].object.longCol.primary
which works fine for Reports with rows in it, but unfortunately
it triggers the SystemErr...