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...
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...
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 returns 1 row not 105 rows... Web DatawindowIs there a special setting I'm missing to retrieve all rows
in the datawindow control, The sqlselect statment pulls 105
from Microsoft SQL Server. But When I run the datawindow
through debug it returns 1 row. Please help!
Check RowCount after Retrieve.
Yossi Dallal
<jfinnell> wrote in message news:42b1b05f.467f.1681692777@sybase.com...
> Is there a special setting I'm missing to retrieve all rows
> in the datawindow control, The sqlselect statment pulls 105
> from Microsoft SQL Server. But When I run the datawindow
> through debug it returns 1 row....
how to get the number of rows of a datawindow nested in another datawindow?Hi All!
Has anyone an idea how to get the number of rows of a datawindow nested in
another datawindow?
I have a datastore
l_ds = CREATE datastore
l_ds.dataobject = "d_invoice"
l_ds.SetTransObject(SQLCA)
li_rows = l_ds.Retrieve(... and so on
I am able to access a value in the nested datawindow like this:
l_ds.Object.d_items[1].Object.item_description[1]
l_ds.Object.d_items[1].Object.item_description[2]
l_ds.Object.d_items[1].Object.item_description[3]
(d_items is the nested datawindow)
But I do not know how to retrieve the number of rows of the nested...
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...
how can I get or set property to a graph datawindow in a composite datawindow?I make a composite style datawindow. There is a graph style datawindow in
it.
I can't get or set the graph style datawindow 's property like title,
values.label and or so.
the graph style datawindow 's datasource is extern data.
I do it like this:
datawindow dw_child
dw_composite.getchild('graph', dw_child)
dw_child.object.gr_1.title = 'hello'
It failed!
then I use this
datastore ds_1
ds_1 = create datastore
ds_1.dataobject = 'data_graph'
ds_1.object.gr_1.title = 'hello'
datawindow dw_child
dw_composite.getchild('grap...
how to drag and drop one row from one datawindow and update the exist row in other datawindow ?I liked to drag and drop a field (assume: name) from a row of one
datawindow (dw_1) to another datawindow (dw_2), and also update the
exist row in dw_2.
Thanks for help.
--
Best regards,
Ridwan
Goldbase Technology
Visit our Homepage :
http://www.geocities.com/Wallstreet/Floor/5251/index.html
http://members.tripod.com/goldbase
http://members.xoom.com/goldbase
* Check out the Y2K (Year 2000 Problems - Millenium Bugs)
Take a look at the Drag Drop entries in the help file.
Basically, you need to turn on Dragging using Drag(Begin!).
When you drop onto dw_2, the drag...
selected row in the datawindow to displayed in the other datawindowhi
iam unable to display the data which is selected data in one datawindow to
other datawindow.
thnaks
deva
see IsSelected functions and transfer those rows to the other DW
Regards
Vasu
"Vasu D" <vasu@i-vantage.com> wrote in message
news:sDZOLqlpCHA.187@forums.sybase.com...
> hi
> iam unable to display the data which is selected data in one datawindow
to
> other datawindow.
> thnaks
> deva
>
>
>
Hello Vasu D,
Are u using shared dw's?
In this case you'll only have to use the function
dw_secundary.scrolltor...
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 Syntax (Composit Datawindow)Would you help me to create datawindow layout for the report of composite
datawindow from DWsyntax at runtime?
...
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...
get/setFullstate on an external DataWindow containing a DropDown dw doubles the number of rows in the dropdown datawindowHi,
When we send a datawindow object containing 1 row and a dddw containing 5
rows to another datawindow control via get/setfullstate, the number of rows
in the dddw is doubled to 10.
Populating the (main) datawindow happened via an insertrow(), which caused
the dddw to be retrieved automatically.
Has anyone experienced the same behaviour?
Thanks,
Peter Annaert
I saw this behavior when I had 2 different columns that used the same
datawindow object for dropdowns. The workaround I used was to create a 2nd
version of of the dddw dataobject, so that each column had a uniqu...