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.

PB 8.0.3 MAJOR BUG: ITEMCHANGED, Argument DATA contains WRONG VALUE

2 posts in Objects Last posting was on 2003-09-09 12:50:05.0Z
Paul Baudouin Posted on 2003-09-09 09:32:27.0Z
Sender: 7c85.3f5d9def.1804289383@sybase.com
From: Paul Baudouin
Newsgroups: sybase.public.powerbuilder.objects
Subject: PB 8.0.3 MAJOR BUG: ITEMCHANGED, Argument DATA contains WRONG VALUE
X-Mailer: WebNews to Mail Gateway v1.1s
Message-ID: <3f5d9e2b.7c89.846930886@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Sep 2003 02:32:27 -0700
X-Trace: forums-1-dub 1063099947 10.22.241.41 (9 Sep 2003 02:32:27 -0700)
X-Original-Trace: 9 Sep 2003 02:32:27 -0700, 10.22.241.41
Lines: 49
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7580
Article PK: 734860

Hi all,

We guess you would better check out your application for the
following bug .

Situation:

GridDatawindow column of type INTEGER.
DDDW edit is editeable because the column is added to the
PFC-dropdownsearch dwsrv.
The displaycolumn is of the type STRING.

Action:

The user types a value in the edit field equal to a value in
the displaycolumn.
This value is numeric while the datatype of the displayvalue
is alfanumeric (e.g. '60400'). The user changes
the focus to another row in the grid by using keyenter!
or keytab!when this column is the last one
or by Clicking on an other row

Bug:

The value of the argument 'data' in the itemchanged event is
wrong. It contains the value of the field in
the newly current row instead of the row on witch the data
was altered. This implies that all the validation
and processing in the itemchanged event is executed with
the wrong value. It is clear that in this manner
the stored data becomes completely useless.

Hypothesis:

While debugging we noticed that the gettext-function returns
the correct value up until the rowfocuschanged event.
We suppose that in this scenario the eventsequence goes
wrong. If the itemchanged would execute during
rowfocuschanging
the data would be correct.

If you have encountered the same problem or know of a
highlevel (PFE) workaround please let us know.

Kind regards ,



Paul Baudouin


Paul Horan[TeamSybase] Posted on 2003-09-09 12:50:05.0Z
From: "Paul Horan[TeamSybase]" <paulhATvcisolutionsDOTcom>
Newsgroups: sybase.public.powerbuilder.objects
References: <3f5d9e2b.7c89.846930886@sybase.com>
Subject: Re: PB 8.0.3 MAJOR BUG: ITEMCHANGED, Argument DATA contains WRONG VALUE
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: ny-chicagost2d-63.buf.adelphia.net
Message-ID: <3f5dccdf$1@forums-2-dub>
X-Original-Trace: 9 Sep 2003 05:51:43 -0700, ny-chicagost2d-63.buf.adelphia.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 9 Sep 2003 05:47:22 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 9 Sep 2003 05:50:05 -0700
X-Trace: forums-1-dub 1063111805 10.22.108.75 (9 Sep 2003 05:50:05 -0700)
X-Original-Trace: 9 Sep 2003 05:50:05 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7581
Article PK: 734862

Please don't cross-post.

--
Paul Horan[TeamSybase]

Get the new PB9 books!
http://www.pb9books.com?source=newsgroups

Code samples on Sybase CodeXchange:
http://codexchange.sybase.com

ISUG Enhancement Requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement