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...How changing a datawindow attached in a datawindow control ?
I would like to set a datawindow object in a datawindow control dinamically.
So I did:
dw_control1.DataObject = 'dw_object1'
The code doesn't work right when I have a EXE.
Someone could help me ?
Uberl�ndia - Minas Gerais - Brazil
I suspect that the dataobject ('dw_object1', the actual datawindow that you
painted in the datawindow painter) is not being compiled into the .exe file,
since its only reference is the string 'dw_object1'. If this is the case, you
need to compile the executable with a .PBR file that include...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...changing datawindow connection is breaking my datawindow SQL
I have had to move a number of datawindows from Oracle 9i running on a
windows 2003 to Oracle 9i on AIX 4.3.3 (which is also on a private network,
and requires a VPN to connect to).
In the datawindow designer, I have also had to change the database interface
from O90 Oracle 9i to an ODBC datasource (because I was not able to
connect). In doing so, I have had to graphically re-create all the DW SQL
again because I get this error:
Table "XYZ" has no columns, possible invalid table format. Do you want to
continue in graphic mode?
If I select "NO", the SQL is...DataWindow ColType is wrong in DataWindow Object, how do I change it?
Problem: rows = dw_1.Retrieve() crashes (returns -1)
I know why it's doing it but I can't fix it. Here is what I have found.
Initially I created a DataWindow Object called d_geninfo which saves
data to the GENINFO table. Then, some months later, I changed the
HOMEOWNER column in the GENINFO table from Char(1) to Char(16) and I
created a second DataWindow Object d_geninfo_preferred that accesses the
same GENINFO table. If I save data using d_geninfo_preferred that is
more than 1 character long and I later retrieve it into d_geninfo it
Now the goofy part. I...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...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...how to change datawindow layout width
whenever we build new datawindow its layout's width, eventually becomes
double of the total width of our fields in dw. e.g. width of our fields
are 4 inches but the width of layout becomes 10 inches which cause
problems at printing that is by skipping an extra page.
How can we stop skipping an extra page or decrease the width of layout
upto the width of our fields.as those dw's layout width not double of
the fields width, it does not skip an extra page.
please help us and thanking in anticipation.
>whenever we build new datawindow its layout's width, eventua...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? ...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 ...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! How do you link differents datawindow objects to a datawindow control during runtime?
I am developing a system in which I need to link a Datawindow control
differents Datawindow objects in runtime.Therefore, I set the Datawindow
control property DATAOBJECT with the value of the datawindow object I
(dw_1.dataobject = "dw_object1"), and then I change it with other values
during execution, doing dw_1.dataobject = "dw_object2" in the script
(of course then I do dw_1.settransobject(transaction_object)...).
When I run the system into PowerBuilder's environment (with the Run
THE SYSTEM WORKS. I made the executable without probl...IS A BUG?. How do you link differents datawindow objects to a datawindow control during runtime?
Pablo Rovedo wrote:
>I am developing a system in which I need to link a Datawindow control
with differents Datawindow objects in >runtime.Therefore, I set the
Datawindow control property DATAOBJECT with the value of the datawindow
object I want >(dw_1.dataobject = "dw_object1"), and then I change it
with other values during execution, doing dw_1.dataobject =
>"dw_object2" in the script (of course then I do
>When I run the system into PowerBuilder's environment (with the Run
painter),THE SYSTEM WORKS. ...