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...I need to create 'on the fly' a composite datawindow with data from other datawindows without retrieve again
I need to create 'on the fly' a composite datawindow including several data
(reports) from other datawindows
without retrieve again (the other datawindows have data from previus dw.
retrieve). I want just combine all datawindows in one to print in a signle
Is there a method to do it ?
You could use some of PFC's functions, or create a composite dwo, with the
same dwo's attached to the reports as in the main dwo's something like this:
dw_composite.Object.d_report1.DataObject = dw_data1.dataobject
dw...What's the difference between datawindow dtc and html datawindow dtc?
In powersite we can find some dtc activex. but what's the difference between
datawindow dtc and html datawindow dtc? When should I use one and when
should I use the other?
Please see InstaHelp for the answer, under this topic:
PowerSite Concepts and Procedures
> Working in The PowerSite Client
> Integrating application servers
> About the HTML DataWindow DTC
Feng Zhu <firstname.lastname@example.org> wrote in message
> Hi, all.
&...Powerbuilder Datawindow Retrieve is unusually slow. What's wrong?
We are using powerbuilder with Sybase SQL Anywhere 5.5. An issue we are
having is that datawindows that have records 10000+ slow down almost
exponentially during a retrieve the higher amount of records there is. A
40000 record datawindow should not take 5-10 minutes to retrieve on a 1ghz
machine. Have any of you experienced a similar problem? Please let me
know any suggestions you have. Please email me at email@example.com
1) your computer is memory-starved. Is the paging rate going up as the
retrieval progre...Setting column's property in a datawindow from composite datawindow
I know this is easy but I cant get it to work.
I have two datawindows controls (dw_1, dw_2) in a composite datawindow
I want to change Text of a header column of dw_2, so I try it using:
1. GetChild and Modify
dw_Report.SetTransObject ( SQLCA )
li_Rtn = dw_Report.GetChild ( "dw_2", ldw_Child )
/* This returns 1, no problem */
If li_Rtn = 1 Then
ls_Error = ldw_Child.Modify ( "item_number_t.Text = ~'New Text~' ")
/* ls_Error is empty string, no problem, but report do...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...Retrieving a PSR's Nested Datawindow Data with a Dynamic DWObject
I currently export data from a .PSR file with a nested datawindow using this
code. Works great except I need to check the object name in the .PSR file
and change my hardcode accordingly.
// Start code
ll_Rows = dw_1.RowCount()
FOR ll_i = 1 to ll_Rows
// first nested datawindow
ldw_Nest = dw_1.Object.obj_192511780[ll_i]
ls_dr_primary_nest = ldw_Nest.Object.Datawindow.data
// End code
I tried modifying my code to take advantage of the get_attribute function I
just read about which is successful in getting the name of the nested
datawindow and the data of th...DataWindow Within DataWindow
How Can I access/modify object/control from a Datawindow within Datawindow.
When i access/modify object/control from a Datawindow i used
dw_1.modify("name.text = 'new val'") but within another datawindow or child
datawindow it doesnt work.
Your description is difficult to understand due to the terminology. First,
a datawindow is assigned to a control - either a datawindow control or a
datastore. Second, the Modify function can only be called within a script.
With that as a basis, can you rephrase the question and describe more
precisely what you want to do? ...modifiyin a datawindow in a datawindow
When I want to modify a datawindow, then it's just
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 ?
get the dw via getchild & apply modify
In article <firstname.lastname@example.org>, David says...
> When I want to modify a datawindow, then it's just
> But what do I have to do when I want to modify a datawindow
> in a datwindow ?
> I tried : dw...Datawindows with child datawindows
I 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?
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 ...datawindow
Add 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...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...DataWindows and datawindow objects
Difference 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>
<Santhoshi> wrote in message news:email@example.com...
> Difference between Datawindow and datawindowobjects?
DW Control is a "container" that reserves real-estate on the surface of
a visual object.
DW Obj...Help!!! Assign Datawindow into Datawindow object
Usually I used to assign a datawindow (dw_train) in a datawindow object
(dw_1) in a window
is go to propertise of datawindow object and browse for datawindow.
My Question:- How to this action into pb script?
If you want to assign datawindow 'd_my_dw' to a dw control dw_1 in your script,
you would say dw_1.DataObject = 'd_my_dw'
If you are going to make an executable, do not forget to include d_my_dw in your
On Fri, 04 Dec 1998 07:34:37 -0500,
CKS21 <firstname.lastname@example.org> wrote:
>Usually I used to...Composite datawindow and dynamical creation of datawindows
My composite datawindow has in the detail band 1 nested datawindows.
The first nested datawindow is always fixed.
What I want to do is to add dynamicly more drop down datawindows, is this
I've tried several options but it never worked, so I'm affraid it is not
Has anyone an idea.
Thanks in advance.
I have what appears to be a similar requirement, a dw with nested dw, and I
want to modify the nested dw to alter some of the field labels at runtime.
I've a feeling it's not possible, as GetChild doesn't work, presu...