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...
I will print two datawindow in one page,and I use child datawindow.One master datawindow (dw_master)with two child datawindow(dc1 and dc2)dw_master("dw_dc1",dc1)
dw_master("dw_dc2",dc2)
dc1 has a argument (arg1)
dc2 has a argument (arg2)
Arg1 and Arg2 are send by one column of dw_master.
When I use retrieve() function,the datawindow can display normal,but when I
print preview or use Zoom or printsetup() ,the childdatawindow dc2 can't
display but dc1 normal!
Why??
Thanks for your help!
I'm having trouble understanding your question. Is this a composite or nested
datawindow?
On Mon, 6 May 2002 22:49:23 +0800,
in powersoft.public.powerbuilder.datawindow
spark <fenfei79@hot...
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.column.count not returning the column count of a datawindowI am having problems with the datawindow.column.count property of a
datawindow. It just started happening with PB 6.501 and still works
fine in PB 5.0. The function that looks at this property is in an
ancestor userobject. The dataobject is assigned at this point but all
other properties of the datawindow are missing. Any suggestions?
Don't recall, but was it still dwDescribe() in version 5.0? If it was that
may be your problem.
HTH
Kent Montgomery wrote:
> I am having problems with the datawindow.column.count property of a
> datawindow. It just started happenin...
grid datawindowfirst time using grid datawindows...
when the select is done, the fields are inserted automatically.
Thee columns are not in the proper order. How can i move them ?
Go to the preview pane and move them from there. Just like you would do at
runtime.
Richard
"Steph" <sybase.public.powerbuilder.general> wrote in message
news:44859031$1@forums-2-dub...
> first time using grid datawindows...
>
> when the select is done, the fields are inserted automatically.
> Thee columns are not in the proper order. How can i move them ?
>
>
Forget ...
Column Moving in Grid DatawindowHi ,
I am using grid datawindow in my application. After retrieving data i am
moving (changing the display order) the columns. That's working fine.
If i retrieve the data again column display order goes back to original, is
there any i can keep column display order as i changed.
could you please help me in this regard
thanks in advance
senthil s
Re-retrieving the data won't reset the column order. But reassigning
the dataobject or closing and reopening the window would. Unless
you're using something like the PFC preferences service, there's
nothing t...
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...
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...
datawindowAdd 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...
Column moving in a grid datawindow.We experience the following problem:
In our app we can move columns around in grid datawindows. After having
created at runtime a line object in the header this suddenly is no longer
possible. Explicitly setting the Datawindow.Grid.ColumnMove property doesn't
help. After deleting the line at runtime it works again.
If I would create the line at design time everything works fine at runtime.
Anybody any idea?
Regards,
Michael Cornelissen
...
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? ...
Datawindows with child datawindowsI 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?
Thanks.
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 Grid and Column MoveHi.
My datawindows are Grid type, the property "MouseSelection", on the first
tabpage, is unchecked. It's posible resize the columns without that
property active?
TIA
To resize a column in a grid DW is necessary that the grid is displayed and
the header's height is > 0
Ciao
Angelo
"Luis Cortes" <cortesgl@corp-ods.com> ha scritto nel messaggio
news:93XUy0oLCHA.654@forums.sybase.com...
> Hi.
>
> My datawindows are Grid type, the property "MouseSelection", on the first
> tabpage, is unchecked. It's posi...
Hide datawindow column in html datawindowIs there anyway I can hide a datawindow column in the generated html? I
can't make the visible property to false because doing that will not
generate the column. I want the column with type as hidden in generated
javascript.
-Hitesh
I don't think this is in the works for the next release but I know of
several people who have mentioned it in the past. Try adding an
enhancement request (I think you can do this through my.sybase.com).
steve
[TeamSybase]
Hitesh Patel wrote:
>
> Is there anyway I can hide a datawindow column in the generated html? I
> can&...