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
...
Datawindow Nested Datawindow in data entryhi!!! all ,
can i use nested datawindow in data entry to show important data ?
means i want to show scrolling infomration on each row of a detail of a
master detail screen. how can I do it ?
means in an entry screen I want to show some scrolling information as the
detail of detail on each row ?
thanks ,
-neelesh
If information is less you can simply add a dummy column,In detail screen.
no the information is not less ... but the requirement is to make it as
another detail as we don't know how much rows may come in it ... if it is
more then the screen then ...
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...
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 ...
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...
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
...
Getting data from a nested datawindowCan I get the value of any column in a nested datawindow via runtime
(script)?
TIA
How about the syntax specified in "Syntax for nested objects" in
Powerbuilder help:
dwcontrol.Object.nestedobjectname { [row ] } .Object.dwobjectname.
property { .property } { = value }
Example
integer li_row
FOR li_row = 1 to RowCount( )
IF dw_emp.Object.rank.Data = "M" THEN
dw_emp.Object.rpt_salary[li_row].Object.salary.Background.Color = '255 ~t
If(salary > 60000, 255, 0)'
dw_emp.Object.rpt_salary[li_row].Object.salary.Background.Mode = 255
END...
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...
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...
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
to try.
thanks,
Pat
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...
How can I get the reference of nested report in datawindow?I will like to insert or modify data in nested report.
I am using pb65.
thanks.
simon
Simon,
Reference the DataWindow's GetChild() function in the on-line help.
HTH
Mark DeRosa
CPD
simon wrote in message ...
>I will like to insert or modify data in nested report.
>I am using pb65.
>
>thanks.
>
>simon
>
>
GetChild() can only get reference to dddw or to a report in a composite dw.
it can't get reference to nested report.
simon
Use the dot notation. e.g.
dw_1.Object.nt_cutomer.Object.Data = dw_customer.Object.D...
Access to nested report data (from the datawindow painter?)Is there any way to access nested report data from the datawindow painter?
I would like to do a comparison between a value in the group trailer row and
a value in the the nested report (which is also in the group trailer row)
and (for instance) subtract one value from the other to show the
difference). I understand that nested data can be accessed from powerscript
using the datawindowchild functions, but I'm not sure how to parlay that
into the kind of comparison I want to do.
Oh, did I mention I'm using PB 6.5 (in case there are any differences in
this area among various ve...
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 ...
No nested datawindows or n-up datawindows?Hi:
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...
Regards
Currently, these DW types are not supported in PK 2.0.2.
"Ignacio Mateos" <imateos@telefonica.net> wrote in message
news:43282d5f$1@forums-2-dub...
> Hi:
>
> 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...
>
> Regards
>
...