It's possible to get the child of a Nested report in a tabular Datawindow, but...Hi,
I'm using PB 5.0.04, I have a nested report within a tabular DataWindow. I
need to change several properties of nested report. GetChild(), comonly
used, can't get the child, it returns -1. But, If i do that :
After the Retrieve() of dw_tabular...
DataWindowChild ldwc_nested
dw_tabular.Modify( "DataWindow.processing = 5" )
dw_tabular.GetChild( "nested_report_object", ldwc_nested )
dw_tabular.Modify( "DataWindow.processing = 0" )
ldwc_nested is a DataWindowChild that handles the nested report.
I can do any ldwc_nested.Describe( &...
It's possible to get the child of a Nested report in a tabular Datawindow, but... #2Hi,
I'm using PB 5.0.04, I have a nested report within a tabular DataWindow. I
need to change several properties of nested report. GetChild(), comonly
used, can't get the child, it returns -1. But, If i do that :
After the Retrieve() of dw_tabular...
DataWindowChild ldwc_nested
dw_tabular.Modify( "DataWindow.processing = 5" )
dw_tabular.GetChild( "nested_report_object", ldwc_nested )
dw_tabular.Modify( "DataWindow.processing = 0" )
ldwc_nested is a DataWindowChild that handles the nested report.
I can do any ldwc_nested.Describe( &...
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
greatly appreciated.:)
The next most popular use is of child DWs within
Composite Presentation Style parents.
Nested ...
UrgentDear all,
I'm using PB 6.5.1. I have a report with the following layout:
Datawindow A contain Datawindow B, Datawindow B contain Datawindow C
And I want to get a reference to Datawindow C. However, I tried to use
GetChild() for Datawindow B. It retured -1. Thus, I also tried to get
another Datawindow D which is nested in Datawindow A and no nested
datawindow nested in it. Then, using GetChild is worked for this case. Am I
missing something?? is there any other way round?? Any ideas or suggestion
are welcome. Thanks in Advance.
Best Regards,
Andy Cheung
...
How to share the datawindow to inner datawindow of nested datawindowHow to share the datawindow to inner datawindow of nested datawindow.
Ex
--------
dw_1 is normal datawindow dw_nes is nested datawindow, both are placed
one window
dw_nes contain dw_child datawindow
Question
----------------
i want to share dw_1 and dw_child.
I have tried the below code, getting error
dw_1.sharedata( dw_nes.object.dw_child)
It's the dot notation. You will need to dw_nes.GetChild("dw_child", ldwc)
where ldwc is a _local_ datawindowchild.
<kzganesan@gmail.com> wrote in message
news:4c64c402-bac5-4ee0-83aa-4ac08ffe43e5@r66g2000hsg.go...
Reference a datawindow object (nested report) in a datawindowIs it possible to reference a datawindow object in a datawindow?
My scenario :
I have a datawindow (composite) which holds another datawindow (nested
report).
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 :
//DataWindowChild dwc_activex
dw1.getchild("dw_activex", dwc_activex)
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
datawindow.
Here is the link to the original documentation:
http://info.sybase.com/resolution/detail.stm?id_number=10938800
Original documentation :-) states that this is not a bug but expected
behaviour, so what kind of "correction" do you expect?
pbm_thisusuallydoesnothelp:-))
Philip ...
Getting Datawindow name from datawindow child variableHi !
I want to get the datawindow (name) from a datawindowchild variable.
But, the dwc has no way to get it.
I want the code like this :
datawindowchild dwc
dw_1.getchild("colname", dwc)
dw_2.dataobject = dwc.dataobject
-------------- -> X
In the above code, "dw_1.object.colname.dddw.name" is what I want.
But, from the "dwc", I can't know that.
Please, help!
thx.
You're correct. There is no way to get the datawindow name from the
datawindow child, you have to ask the paren...
Datawindows with child datawindowsI want to create a datawindow whose only data is three columns that will
themselves be drop-down data windows. These child datawindows will be
populated in PB script with dw_1.GetChild(). When I create that parent
datawindow (New | Datawindow | Freeform), what do I choose in the next
dialog box ("Which datasource would you like to use?") External?
Thanks.
That depends on how you want to populate and use the columns of the main DW.
The DDDW is an edit style that assists the user in selecting a value for the
column in the main DW. If you want to retrieve the values ...
Nested datawindow within a nested datawindowI 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
...
I will print two datawindow in one page,and I use child datawindow.One master datawindow (dw_master)with two child datawindow(dc1 and dc2)dw_master("dw_dc1",dc1)
dw_master("dw_dc2",dc2)
dc1 has a argument (arg1)
dc2 has a argument (arg2)
Arg1 and Arg2 are send by one column of dw_master.
When I use retrieve() function,the datawindow can display normal,but when I
print preview or use Zoom or printsetup() ,the childdatawindow dc2 can't
display but dc1 normal!
Why??
Thanks for your help!
I'm having trouble understanding your question. Is this a composite or nested
datawindow?
On Mon, 6 May 2002 22:49:23 +0800,
in powersoft.public.powerbuilder.datawindow
spark <fenfei79@hot...
how to get the number of rows of a datawindow nested in another datawindow?Hi All!
Has anyone an idea how to get the number of rows of a datawindow nested in
another datawindow?
I have a datastore
l_ds = CREATE datastore
l_ds.dataobject = "d_invoice"
l_ds.SetTransObject(SQLCA)
li_rows = l_ds.Retrieve(... and so on
I am able to access a value in the nested datawindow like this:
l_ds.Object.d_items[1].Object.item_description[1]
l_ds.Object.d_items[1].Object.item_description[2]
l_ds.Object.d_items[1].Object.item_description[3]
(d_items is the nested datawindow)
But I do not know how to retrieve the number of rows of the nested...
Any way to get the parent of a child datawindow in a composite datawindow?Using PB 8.0.3 9704 on Win2K.
I have a DataWindowChild that came from a GetChild() call for a composite
datawindow. At runtime, I don't "know" what composite datawindow is the
parent of the child datawindow.
Any ideas on how to get this information?
I tried DataWindowChild.GetParent(). Compiles fine and "Help" says this
should work, but all I get is a null object reference.
Thanks in advance...
Is this a problem with a poorly designed function signature?
Succesfull GetChild call could ONLY have been done with having a reference
to the datawindow...
DataWindow This, DataWindow That...Blah blah blah
You've heard it enough that you don't even want to comment on how many
times...
The DataWindow.
....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...