Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Multiple Select in DDDW

3 posts in DataWindow Last posting was on 2009-01-25 10:11:04.0Z
GM Posted on 2009-01-23 14:49:46.0Z
Sender: 4247.4979d184.1804289383@sybase.com
From: GM
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Multiple Select in DDDW
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4979d90a.4300.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 23 Jan 2009 06:49:46 -0800
X-Trace: forums-1-dub 1232722186 10.22.241.41 (23 Jan 2009 06:49:46 -0800)
X-Original-Trace: 23 Jan 2009 06:49:46 -0800, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88673
Article PK: 417928

Hello!

I know how to select multiple rows in a DW, but is there a
possibility to do the same thing in a DDDW? I was able to
capture the clicked event in a DDDW but once I select
something, I am unable to select more than one row...

Thanks


"Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_ Posted on 2009-01-23 16:17:26.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_@_teamsybase.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Multiple Select in DDDW
References: <4979d90a.4300.1681692777@sybase.com>
In-Reply-To: <4979d90a.4300.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4979ed96$1@forums-1-dub>
Date: 23 Jan 2009 08:17:26 -0800
X-Trace: forums-1-dub 1232727446 10.22.241.152 (23 Jan 2009 08:17:26 -0800)
X-Original-Trace: 23 Jan 2009 08:17:26 -0800, vip152.sybase.com
Lines: 20
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88674
Article PK: 417927

I think you have the wrong UI element for whatever you are trying to do.
A drop-down list (of any kind) is meant to present options for a single
data element. The data from the drop-down dw is put into a single column
on the parent dw. If you select multiple items in the drop-down, what
data goes into the parent column?

A better question is: What are you trying to accomplish? Why do you need
to select multiple items from a drop-down list?

GM wrote:
> Hello!
>
> I know how to select multiple rows in a DW, but is there a
> possibility to do the same thing in a DDDW? I was able to
> capture the clicked event in a DDDW but once I select
> something, I am unable to select more than one row...
>
> Thanks


shashi Posted on 2009-01-25 10:11:04.0Z
From: shashi <gogia7@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Multiple Select in DDDW
Date: Sun, 25 Jan 2009 02:11:04 -0800 (PST)
Organization: http://groups.google.com
Lines: 35
Message-ID: <c4273154-912d-418a-afe6-5586a981358c@k1g2000prb.googlegroups.com>
References: <4979d90a.4300.1681692777@sybase.com> <4979ed96$1@forums-1-dub>
NNTP-Posting-Host: 59.180.54.38
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1232878264 26645 127.0.0.1 (25 Jan 2009 10:11:04 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 25 Jan 2009 10:11:04 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k1g2000prb.googlegroups.com; posting-host=59.180.54.38; posting-account=mY9CiAoAAABxoNLAQxxv-hZcQZtLM6pE
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5,gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!k1g2000prb.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88676
Article PK: 417930

On Jan 23, 9:17 pm, "Jason 'Bug' Fenter [TeamSybase]"

<NO_SPAMMING_jason.fenter_@_teamsybase.com> wrote:
> I think you have the wrong UI element for whatever you are trying to do.
> A drop-down list (of any kind) is meant to present options for a single
> data element. The data from the drop-down dw is put into a single column
> on the parent dw. If you select multiple items in the drop-down, what
> data goes into the parent column?
>
> A better question is: What are you trying to accomplish? Why do you need
> to select multiple items from a drop-down list?
>
> GM wrote:
> > Hello!
>
> > I know how to select multiple rows in a DW, but is there a
> > possibility to do the same thing in a DDDW?  I was able to
> > capture the clicked event in a DDDW but once I select
> > something, I am unable to select more than one row...
>
> > Thanks

You can check my article - Multi Select Dropdown List Boxes for
datawindows at
http://pbdj.sys-con.com/node/480678 - code for this is also available
in CodeXchange

For using DDDWs, I would just code the list box to be populated by the
relevant column's data (Can provide the code for that too)

I normally use this to fill a varchar column with comma or semicolon
separated values of related properties - eg. A patient has a single
primary diagnosis but has multiple secondary diagnoses. The user needs
to feed in the disease (ICD 10) codes together in that column

Regards