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.

DropDownDW field defaults to last value in list

4 posts in DataWindow Last posting was on 2010-01-11 14:52:19.0Z
Sean Dwyer Posted on 2010-01-06 12:09:08.0Z
Sender: 744f.4b4213fd.1804289383@sybase.com
From: Sean Dwyer
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: DropDownDW field defaults to last value in list
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b447d64.4a88.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Jan 2010 04:09:08 -0800
X-Trace: forums-1-dub 1262779748 10.22.241.41 (6 Jan 2010 04:09:08 -0800)
X-Original-Trace: 6 Jan 2010 04:09:08 -0800, 10.22.241.41
Lines: 15
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90536
Article PK: 410141

Hi,
We're upgrading from 6.5 to 11.5.
One thing I've noticed is that DropDownDw fields are
defaulting to the last value in the list whereas in the 6.5
version they are blank and clicking in them brings you to
the first value in the list.
Is there a way to stop the value defaulting to the bottom
one?

When I take TrimSpaces=1 out of the DBPARM it works the same
as 6.5 however this gives us other problems that we didn't
have in 6.5 either.

Thanks and Regards,
Sean


"Paul Horan[Sybase]" <phoran_remove Posted on 2010-01-06 17:56:30.0Z
From: "Paul Horan[Sybase]" <phoran_remove@remove_sybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4b447d64.4a88.1681692777@sybase.com>
Subject: Re: DropDownDW field defaults to last value in list
Lines: 23
Organization: Sybase
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b44cece$1@forums-1-dub>
Date: 6 Jan 2010 09:56:30 -0800
X-Trace: forums-1-dub 1262800590 10.22.241.152 (6 Jan 2010 09:56:30 -0800)
X-Original-Trace: 6 Jan 2010 09:56:30 -0800, vip152.sybase.com
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90538
Article PK: 410143

Is this after an InsertRow() call? When are you seeing this behavior?

Paul Horan[TeamSybase]

<Sean Dwyer> wrote in message news:4b447d64.4a88.1681692777@sybase.com...
> Hi,
> We're upgrading from 6.5 to 11.5.
> One thing I've noticed is that DropDownDw fields are
> defaulting to the last value in the list whereas in the 6.5
> version they are blank and clicking in them brings you to
> the first value in the list.
> Is there a way to stop the value defaulting to the bottom
> one?
>
> When I take TrimSpaces=1 out of the DBPARM it works the same
> as 6.5 however this gives us other problems that we didn't
> have in 6.5 either.
>
> Thanks and Regards,
> Sean


Sean Dwyer Posted on 2010-01-07 10:10:15.0Z
Sender: 744f.4b4213fd.1804289383@sybase.com
From: Sean Dwyer
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDownDW field defaults to last value in list
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4b45b307.7189.1681692777@sybase.com>
References: <4b44cece$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 7 Jan 2010 02:10:15 -0800
X-Trace: forums-1-dub 1262859015 10.22.241.41 (7 Jan 2010 02:10:15 -0800)
X-Original-Trace: 7 Jan 2010 02:10:15 -0800, 10.22.241.41
Lines: 29
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90545
Article PK: 410150

Hi Paul,
yes it is after an insertrow(o) call.
Thanks and Regards
Sean

> Is this after an InsertRow() call? When are you seeing
> this behavior?
>
> Paul Horan[TeamSybase]
>
>
> <Sean Dwyer> wrote in message
> > news:4b447d64.4a88.1681692777@sybase.com... Hi,
> > We're upgrading from 6.5 to 11.5.
> > One thing I've noticed is that DropDownDw fields are
> > defaulting to the last value in the list whereas in the
> > 6.5 version they are blank and clicking in them brings
> > you to the first value in the list.
> > Is there a way to stop the value defaulting to the
> > bottom one?
> >
> > When I take TrimSpaces=1 out of the DBPARM it works the
> > same as 6.5 however this gives us other problems that we
> > didn't have in 6.5 either.
> >
> > Thanks and Regards,
> > Sean
>
>


sean dwyer Posted on 2010-01-11 14:52:19.0Z
From: sean dwyer <seanoduibhir@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDownDW field defaults to last value in list
Date: Mon, 11 Jan 2010 06:52:19 -0800 (PST)
Organization: http://groups.google.com
Lines: 35
Message-ID: <854d5490-78e5-4fc1-8d29-412cd0463c6a@q4g2000yqm.googlegroups.com>
References: <4b447d64.4a88.1681692777@sybase.com> <4b44cece$1@forums-1-dub>
NNTP-Posting-Host: 192.26.212.72
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1263221539 9342 127.0.0.1 (11 Jan 2010 14:52:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 11 Jan 2010 14:52:19 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q4g2000yqm.googlegroups.com; posting-host=192.26.212.72; posting-account=ihXx1woAAABUgoi-7ZohNvoSi84C8iAM
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),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!newsfeed.news2me.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!q4g2000yqm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90566
Article PK: 410172

On Jan 6, 5:56 pm, "Paul Horan[Sybase]"

<phoran_remove@remove_sybase.com> wrote:
> Is this after an InsertRow() call?  When are you seeing this behavior?
>
> Paul Horan[TeamSybase]
>
>
>
> <Sean Dwyer> wrote in messagenews:4b447d64.4a88.1681692777@sybase.com...
> > Hi,
> > We're upgrading from 6.5 to 11.5.
> > One thing I've noticed is that DropDownDw fields are
> > defaulting to the last value in the list whereas in the 6.5
> > version they are blank and clicking in them brings you to
> > the first value in the list.
> > Is there a way to stop the value defaulting to the bottom
> > one?
>
> > When I take TrimSpaces=1 out of the DBPARM it works the same
> > as 6.5 however this gives us other problems that we didn't
> > have in 6.5 either.
>
> > Thanks and Regards,
> > Sean- Hide quoted text -
>
> - Show quoted text -

Hi Paul,
it's after an insertrow(0) call,
to elaborate a bit more, the drop down datawindow is based on a sql
query.
After the insertrow(0) the dddw is displaying the last value in the
list. Clicking in the field positions you at the bottom of the (long)
list. In 6.5 the field was empty and clicking in it brought you to the
top of the list.