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...
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...
Printing a datawindow with a nested datawindow under Win95Hi PB'ers
We have a strange problem when trying to print a datawindow with a
nested datawindow.
Printing from a 32 bit (interpreted or compiled) application under
windows 95, the application crashes in the Kernel32.dll.
If the same application is run under NT3.51 the there are no problems.
The same goes if the same application is made as a 16 bit application.
(running under NT, Win3 or Win95).
We have the same problem in more than one application with different
datawindows being printed, but the application doesn't crash every time
a datawindow with a nested datawindo...
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
...
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 (Cut off on printing)I have one main datawindow which has 10 datawindows. One of
the datawindows has a field which has more than 10,000
characters. When I go to preview my main datawindow, on
page 4 of 10 the text filed which has more than 10,000
characters is being cut off at the top of the page(The text
field is on a deatil band). Half of the text remains on 3rd
page and half on 4th page. The header and footer print
properly. Can anyone tell me if this is a Powerbuiler 7 bug
or not? Any help would be greately appreciated.
I'll guess that it is a bug. For a long time the DW has not been good at
...
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
>
...
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...
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 ...
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...
modifiyin a datawindow in a datawindowHi,
When I want to modify a datawindow, then it's just
dw1.modify()
But what do I have to do when I want to modify a datawindow
in a datwindow ?
I tried : dw1.dw2.modify() but that doesn't work.
Anyone can help me out with this ?
thanks.
Regards,
David
get the dw via getchild & apply modify
In article <4575976f.4dda.1681692777@sybase.com>, David says...
> Hi,
> When I want to modify a datawindow, then it's just
> dw1.modify()
>
> But what do I have to do when I want to modify a datawindow
> in a datwindow ?
> I tried : dw...
DataWindows and datawindow objectsDifference between Datawindow and datawindowobjects?
- datawindow is a control on a userobject or a window
- datawindowobject (DWObject) is a control within a datawindow, defined in
the dataobject of the datawindow.
You refer to it as <datawindow-instance>.Object.<datawindow object>
HTH,
Ben (bede)
<Santhoshi> wrote in message news:3f8bee8b.4631.846930886@sybase.com...
> Difference between Datawindow and datawindowobjects?
Not exactly;
DW Control is a "container" that reserves real-estate on the surface of
a visual object.
DW Obj...
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 ...
datawindowAdd direct setting and getting capability for the datawindow where clause.
This would have to be a string array in case of unions.
Return ONLY the where clause(s) in the main select (in case of sub-selects,
ignore the where clause or somehow list it as a subselect in the where or a
subselect in the select).
It would be great if I could just get and set this as a value and have the
datawindow automatically change (or add) the where clause as specified.
This is for setting the where clause dynamically at run time. Currently
have to parse through the datawindow.table.select looking f...