Drop down datawindow within datawindowI have a datawindow that is attached to a PL/SQL stored
procedure that is supposed to list records. Several of the
fields in the list are identified as Style DropDownDW. The
intent is that for these fields there will be multiple
values available by using a vertical scroll bar and arrow.
For example, a record in the window might have
Name Address Medical Code
Medical code would also be a drop down list box with
multiple values.
Is there a simple way to implement this in Powerbuilder 9?
What kind of PB coding constructs would be necessary?
Thanks
Generally, the steps are:
...
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 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 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...
Drop Down Datawindow issues in DatawindowWe recently moved from version 8.0.3 9704 to 8.0.3 9977.
Since this move we have had nothing but grief with
DropDownDatawindow style columns.
Basically - we have columns that are dropdowns that the user
can enter their values into or, scroll down and select from.
We then have code that verifies that the value entered in
the column exists in the drop down list (i.e. is the data
entered by the user valid).
When we get the value from the column (using either dot
notation or, getitem functions) PB is giving us the display
value for the drop down NOT the code value.
SOMETIMES whe...
embedding a datawindow within a datawindowBelow is a sample of the format for a report I need to
create. The report will display courses that may or may not
be part of group, because the people running the courses can
choose from all the courses available to create their own
"group" of courses. Since a course may or may not be part
of a group would using an embedded datawindow for the group
info work? How? Can anyone point me in the right
direction? The data is coming from two tables.
Thanks,
Kevin
CourseID CourseTitle CourseTopic EnrollMax EnrollCurrent
100145A "Sample" "Sample"...
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...
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...
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...
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 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 ...
Converting datawindow objects to datawindow .NetHi,
Can someone please list the various methods we can use to
convert the standard datawindow object to a datawindow .net
object ?
Thanks,
Sanjay
I'm lost. There's no conversion necessary. PB and DW.Net use the
same datawindow objects.
On 19 Feb 2007 17:46:15 -0800, Converting wrote:
>Hi,
>
>Can someone please list the various methods we can use to
>convert the standard datawindow object to a datawindow .net
>object ?
>
>Thanks,
>
>Sanjay
Thanks Bruce. I probably confused you but good to know that
we can modify the datawin...
datawindow and Datawindow.NET Function ComparisonHi All!
What is the equivalent function in datawindow.net for the
dw_1.GetSelectedRow()
Is there any listings or comparison available for datawindow.net function
and datawindow?
Thanks.in advance
S. Viswanathan
Look to DataWindowControl.FindNextSelected(RowNumber) method.
Regards,
Mikhail Klygin.
Viswanathan S �����:
> Hi All!
>
> What is the equivalent function in datawindow.net for the
> dw_1.GetSelectedRow()
>
> Is there any listings or comparison available for datawindow.net function
> and datawindow?
>
> Thanks.in advanc...
PB Datawindow to DataWindow .Net MigrationWe have a datawindows in PB 9 and PB 11 also. Now we are planing move
to .Net Applications. We are generating all PB objects in to .Net(C#)
except data windows. Now we are planing to move PB datawindows to
DataWindow .Net 2.5.
Can you please explaing the way to convert/migrate PB Datawindows to
DataWindow .Net 2.5.
Advanced thanks for your suggesstions.
Thank You,
Chaithu
Start the Datawindow Designer applet and create a new Project.
Then use the Import... feature to import the datawindow source .SRD files.
These can be exported from PowerBuilder.
--
Paul Horan[Sybase]
...