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...
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...
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...
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...
copy a datawindow into another datawindowI have an instance datawindow declared :
Ex: u_dw idw
Then I do the following function:
Function : of_registerdw(datawindow adw)
Script : idw = adw
In another function I want to set another datawindow(ldw) equal to idw
I thought : u_dw ldw
ldw = idw
But when I destroy idw, also ldw is destroyed and that may not happen. How
can I copy idw into ldw without
destroying ldw when I destroy idw?
Thanks for your time!
Sandra
Sandra,
All you are doing is copying object reference to another variable. You are not
actually copying datawindow. Use rows...
Datawindow Syntax (Composit Datawindow)Would you help me to create datawindow layout for the report of composite
datawindow from DWsyntax at runtime?
...
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
...
Properties of a datawindow on a composite datawindowI have a composite report that has 2 nested datawindows. At run time, I want to
modify the dataobject of one of the nested datawindows on the report. I am
using the GetChild function to get a reference to the nested datawindow on the
report. Here's the code I am using. dw_maintain_code is the nested datawindow
on dw_composite.
li_rtn = dw_composite.GetChild("dw_maintain_code",ldw_child1) //get reference
ls_rtn = ldw_child1.Modify('dw_maintain_code.dataobject = d_code_sync')
li_rtn = dw_code_type_list.ShareData(ldw_child1)
The Modify returns an empty str...
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...
How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow!Hi friends,
I created a composite datawindow includes three datawindow. How can I
count the number of rows in each datawindow? (Rowcount() function can not
works). Also, I need access in each row then reset the value that I want in
each row in each datawindow. I use the property to access to get data in
each row in each datawindow, but the right value only happens in the first
row of each datawindow. It seems I used the loop access the value it doesn't
work. Indeed, It has the all data for me but just right for the first row in
each data window. Could you have any ideas, please!...
How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow!This is a multi-part message in MIME format.
------=_NextPart_000_004F_01C308EA.58A195E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi friends,
I created a composite datawindow includes three datawindow. How can I
count the number of rows in each datawindow? (Rowcount() function can =
not
works). Also, I need access in each row then reset the value that I want =
in
each row in each datawindow. I use the property to access to get data in
each row in each datawindow, but the right value only happens in the =
fi...
How can I count number of rows in each datawindow in composit datawindow then access and set item in each row in each datawindow! #2This is a multi-part message in MIME format.
------=_NextPart_000_0043_01C308EA.0E4861E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi friends,
I created a composite datawindow includes three datawindow. How can I
count the number of rows in each datawindow? (Rowcount() function can =
not
works). Also, I need access in each row then reset the value that I want =
in
each row in each datawindow. I use the property to access to get data in
each row in each datawindow, but the right value only happens in the =
fi...
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...
DataWindow Within DataWindowHow 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? ...