ole datawindows and composite datawindowI have 5 external datawindows that I will use for printing
an enrollment form. Two are purely legal text that I am
using an ole(word doc) for, one will be populated using
embedded sql and setitem calls, and the other two are a
combination of ole and external columns.
Questions:
1. Does the normal process of dw_control.settransobject
dw_control.retrieve work for ole based datawindows?
2. If this is the right approach, then do I "retrieve" the
ole datawindows and populate my other datawindows first and
then
3. retrieve the composite datawindow for preview and print
...
External Datawindow in a Composite DatawindowHi All
I have a question. Can I use an extrernal datawindow in a composite datawindow? If yes, how do we
access its properties. The specific problem is that I want to combine two dws. One is generated
externally and the other is a simple tabular dw coming from a db. If I try to use getchild() then I
do not have columns for get child.
I am using PB 7.0.3 on Windows 2000 Server with MS SQL Server.
Thanks.
Sincerely
Saleem
> Can I use an extrernal datawindow in a composite datawindow? If yes, how
do we
> access its properties.
ldw_dw.object.r_pumpputyyppi.object...
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...
datawindow.object.datawindow.objects ?Hi?
I used this syntax in PB9, how to use in datawindow.net with C#?
string ls_objects
ls_objects = string(datawindow.object.datawindow.objects)
I hope to get a list of the controls in the datawindow objects.
TIA
..Describe("DataWindow.Objects")
On 5 Jan 2006 23:30:30 -0800, "Robert" <jooong@empal.com> wrote:
>Hi?
>
>I used this syntax in PB9, how to use in datawindow.net with C#?
>
>string ls_objects
>ls_objects = string(datawindow.object.datawindow.objects)
>
>I hope to get a list of the controls in the dataw...
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 in composite datawindow used in datawindow.NET, are not sliding upHi,
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
spaces.
The height of blank white space is equal to the height of the datawindow art
design time.
When I looked at the generated JavaScript, I noticed there is "div" for the
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
application.
Also s...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
Does anyone use OLE container in Datawindow as OLE (Excel Chart/Worksheet/Microsoft Graph) presentation style or OLE object in Datawindow? Please Help.Blank
Hello folks,
How can I use an OLE container in Datawindows?
The situation as follows:
I have a datawindow with OLE (Excel Chart/Worksheet/Microsoft Graph)
presentation style or grid datawindow with OLE object (Excel
Chart/Worksheet/Microsoft Graph) in detail band.
I have the next result set of datawindow (SQL select/ SP / External)
fields: anytext, anynumeric
values: first, 1
first, 2
first, 3
second, 1
second, 2
second, 3
I mapped OLE data as follows
Group by: anytext
Target Data: anytext
...
External DatawindowHi,
I am currently loading a database table from an external datawindow and
this is working fine when the rows are just inserted into the table. I am
having a problem though on figuiring out how to tell Powerbuilder to update
a row instead of inserting a new one. The following is how I do an insert.
**** Get the colum Count
li_column_total = Integer(lds_data.describe("Datawindow.column.count")
****Loop through and set the columns to updateable
FOR ll_counter = 1 to li_column_total
ls_column_name = lds_data.describe("#" + string(ll_counter)
...
copying datawindows to a composite datawindowhi, I have a window with 3 different dw-reports. The problem I have is
that one of the windows can be modify by the user, therefore if I
include the updatable dw in the composite it will not reflect the latest
information. How can I make sure I that when the updatable dw is
changed, the changes are reflected in the composite also. Do I have to
copy the dw and if so how can I do that, or is there an easier way to do
that.
Thanks
Jose
In article <35B4BC1A.DCF5FD47@cs.fiu.edu>, joband02@cs.fiu.edu says...
> hi, I have a window with 3 different dw-reports. The problem I have ...
accessing datawindow in composite datawindowHi All,
I have a composite datawindow d_comp having two datawindow d_first and
d_second.
Using code, i want to save the content of the d_first and d_second
datawindow content txt format. Is it possible to save the content
using saveasascii or saveas function ??
i was trying to use
dw_comp.object.d_first.saveasascii(ls_temptxfile,"~t","","~n")
but getting error...
Thanks .
-Brijesh
Hi,
if that is really a composite datawindow you should be able
to get a reference to d_first and d_second using getChild().
You get a DataWindowChild which impl...
Datawindow Syntax (Composit Datawindow)Would you help me to create datawindow layout for the report of composite
datawindow from DWsyntax at runtime?
...