PageCount() with Nested Datawindow in Composite Datawindow
I use PB 11.5.1 Build 4740 (last build).
I have a problem when I am trying to print out a composite datawindow.
I have a composite datawindow with 3 nested datawindow, when I try
dw_composite.Retrieve() it works fine, but when I put
dw_composite.Print(), I faced a problem with the second nested
datawindow: the number of pages.
For example, I have two pages and the print is "Page 2 of 2" to the
first page and "Page 2 of 2" to the second one. I am using the function
This just occurs to print option, when I am using retrieve op...How to share the datawindow to inner datawindow of nested datawindow
How to share the datawindow to inner datawindow of nested datawindow.
dw_1 is normal datawindow dw_nes is nested datawindow, both are placed
dw_nes contain dw_child datawindow
i want to share dw_1 and dw_child.
I have tried the below code, getting error
It's the dot notation. You will need to dw_nes.GetChild("dw_child", ldwc)
where ldwc is a _local_ datawindowchild.
<firstname.lastname@example.org> wrote in message
news:email@example.com...Nested datawindow within a nested datawindow
I have a report, that contains a datawindow, which itself contains a
datawindow. Everything is working fine until the number of retrieved lines
get's over about 1100 primary and over about 3200 retrieved nested lines.
Although the task manager (I'm using Powerbuilder 7.0.3 on Windows 2000)
shows me, that there is still enough free memory, the data retrieval stops
and Powerbuilder (or the application which called the Retrieve() method)
ends itself without any error message. That allways happens when the
datawindow has allocated about 70 MB of virtual memory. (About 99% of those
...datawindows in composite datawindow used in datawindow.NET, are not sliding up
Problem: datawindows in composite datawindow used in "datawindow.NET", are
not sliding up ,
if one dw is not visible or did not retrieve data. Resulting in unwanted
The height of blank white space is equal to the height of the datawindow art
datawindow with height 0.00in
which is supposed to be not visible. Tried different options with
html/xhtml/xml same result.
But slides up ok when exported to pdf(using saveas) on web and in PB10.5
Also s...DataWindow This, DataWindow That...
Blah blah blah
You've heard it enough that you don't even want to comment on how many
....but it can't be enough anymore...can it?
This from one of our colleagues
(and yes my apologies for taking it out of context)...
"...PB covers all you need to do that in ONE Tool. This
includes Windowprogramming ( meaning the interface to the user:
Windows, Sheets, diallougeboxes, etc.), Database operability AND
Reporting! Well, I see als well as many other PB users that some of
the implementations and features PB offers are improvable. But thi...nested datawindow within another nested datawindow?
I was trying to create a report which has a nested datawindow within another
nested datawindow, and PB didn't seem to go for this... got memory errors.
Is this even possible? I searched all of the usual resources and couldn't
find anything about this... maybe they assumed nobody would be dumb enough
It is perfectly legal to have multiple levels of nested reports. However,
nesting isn't supported for certain DW types like grid and n-up. Try testing
your DWs on their own to ensure that they work properly. Then nest them one
at a time and try to i...Help! How to modify the sql select statement for a nested datawindow inside a composite datawindow?
How to modify the sql select statement for a nested datawindow inside a
Would the following work?
dw_nest.Object.DataWindow.Table.Select="select employee_id from ..."
GetChild () ???
"Jun Gan" <firstname.lastname@example.org> wrote in message
> How to modify the sql select statement for a nested datawindow inside a
> composite datawindow?
> Would the following work?
> dw_nest.Object.DataWindow.Table.Select="select e...Properties of a datawindow on a composite datawindow
I have a composite report that has 2 nested datawindows. At run time, I want to
modify the dataobject of one of the nested datawindows on the report. I am
using the GetChild function to get a reference to the nested datawindow on the
report. Here's the code I am using. dw_maintain_code is the nested datawindow
li_rtn = dw_composite.GetChild("dw_maintain_code",ldw_child1) //get reference
ls_rtn = ldw_child1.Modify('dw_maintain_code.dataobject = d_code_sync')
li_rtn = dw_code_type_list.ShareData(ldw_child1)
The Modify returns an empty str...External Datawindow in a Composite Datawindow
I have a question. Can I use an extrernal datawindow in a composite datawindow? If yes, how do we
access its properties. The specific problem is that I want to combine two dws. One is generated
externally and the other is a simple tabular dw coming from a db. If I try to use getchild() then I
do not have columns for get child.
I am using PB 7.0.3 on Windows 2000 Server with MS SQL Server.
> Can I use an extrernal datawindow in a composite datawindow? If yes, how
> access its properties.
ldw_dw.object.r_pumpputyyppi.object...No nested datawindows or n-up datawindows?
Are there no nested datawindows or n-up datawindows in Pocket?
I can't seem to add them in the painter, yet the help describes the
Currently, these DW types are not supported in PK 2.0.2.
"Ignacio Mateos" <email@example.com> wrote in message
> Are there no nested datawindows or n-up datawindows in Pocket?
> I can't seem to add them in the painter, yet the help describes the
> properties rows_Per_detail...
...copying datawindows to a composite datawindow
hi, I have a window with 3 different dw-reports. The problem I have is
that one of the windows can be modify by the user, therefore if I
include the updatable dw in the composite it will not reflect the latest
information. How can I make sure I that when the updatable dw is
changed, the changes are reflected in the composite also. Do I have to
copy the dw and if so how can I do that, or is there an easier way to do
In article <35B4BC1A.DCF5FD47@cs.fiu.edu>, firstname.lastname@example.org says...
> hi, I have a window with 3 different dw-reports. The problem I have ...Datawindow Syntax (Composit Datawindow)
Would you help me to create datawindow layout for the report of composite
datawindow from DWsyntax at runtime?
...accessing datawindow in composite datawindow
I have a composite datawindow d_comp having two datawindow d_first and
Using code, i want to save the content of the d_first and d_second
datawindow content txt format. Is it possible to save the content
using saveasascii or saveas function ??
i was trying to use
but getting error...
if that is really a composite datawindow you should be able
to get a reference to d_first and d_second using getChild().
You get a DataWindowChild which impl...Child datawindows (Nested DataWindows)
Hello all...I was wondering... I have used Child Datawindows
for quite some time under PB9.03. These are invaluable when
a user is in the Parent DataWindow and must choose a value
from a list of choices provided by the Child DataWindow. The
kind of Child DataWindow I am talking about is a
DropDownDataWindow (DDDW). This is the only kind I have ever
used. I was simply wondering whether there are more kinds of
Child DataWindows other than the DDDW? Any info would be
The next most popular use is of child DWs within
Composite Presentation Style parents.