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.

selectitem problem

2 posts in DataWindow Last posting was on 2008-06-03 20:45:04.0Z
zhwei_1981 Posted on 2008-05-29 09:08:36.0Z
From: zhwei_1981@163.com
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: selectitem problem
Date: Thu, 29 May 2008 02:08:36 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <30ed104d-15d4-421d-85a1-6ef09401ab8e@i36g2000prf.googlegroups.com>
NNTP-Posting-Host: 123.112.21.128
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1212052116 5894 127.0.0.1 (29 May 2008 09:08:36 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 29 May 2008 09:08:36 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i36g2000prf.googlegroups.com; posting-host=123.112.21.128; posting-account=i0e-igoAAACoNruNFMIlaN8Dwd5F7xtV
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!i36g2000prf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86987
Article PK: 416244

somebody help me
I use pb11.0 turn c/s to b/s, but the dropdownlistbox selectitem have
problem!
the code is:
for i = 1 to upperBound(g_str_user)
ddlb_user.InsertItem(g_str_user[i].UserName, i)
Next
if i > 0 then
ddlb_user.SelectItem(1)
end if
in the g_str_user[1].UserName is Tom, g_str_user[2].UserName is Ann
in the c/s the ddlb_user select Tom but in the web mode the ddlb_user
select Ann


Millard F. Brown III Posted on 2008-06-03 20:45:04.0Z
From: "Millard F. Brown III" <millard.brown@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <30ed104d-15d4-421d-85a1-6ef09401ab8e@i36g2000prf.googlegroups.com>
Subject: Re: selectitem problem
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4845ad50@forums-1-dub>
Date: 3 Jun 2008 13:45:04 -0700
X-Trace: forums-1-dub 1212525904 10.22.241.152 (3 Jun 2008 13:45:04 -0700)
X-Original-Trace: 3 Jun 2008 13:45:04 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87049
Article PK: 416306

Is that because it sorts differently?

--
Regards,
Millard [TeamSybase]

<zhwei_1981@163.com> wrote in message
news:30ed104d-15d4-421d-85a1-6ef09401ab8e@i36g2000prf.googlegroups.com...
> somebody help me
> I use pb11.0 turn c/s to b/s, but the dropdownlistbox selectitem have
> problem!
> the code is:
> for i = 1 to upperBound(g_str_user)
> ddlb_user.InsertItem(g_str_user[i].UserName, i)
> Next
> if i > 0 then
> ddlb_user.SelectItem(1)
> end if
> in the g_str_user[1].UserName is Tom, g_str_user[2].UserName is Ann
> in the c/s the ddlb_user select Tom but in the web mode the ddlb_user
> select Ann
>