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.

itemchanged event not firing

2 posts in DataWindow Last posting was on 2008-09-08 16:50:20.0Z
Sharon Posted on 2008-09-08 16:32:52.0Z
Sender: 66d4.48c53f24.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: itemchanged event not firing
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48c553b4.7354.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Sep 2008 09:32:52 -0700
X-Trace: forums-1-dub 1220891572 10.22.241.41 (8 Sep 2008 09:32:52 -0700)
X-Original-Trace: 8 Sep 2008 09:32:52 -0700, 10.22.241.41
Lines: 18
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87725
Article PK: 416981

using PB 11.2 on vista
I have an external datawindow with one column.
column is a drop down datawindow
display column is contract_no
data column is id_contract

there can be multiple contract_no, each with a different
id_contract

if the data in the "display column" changes the itemchanged
event executes.
if the user selects the same contract_no but with a
different id_contract, the itemchanged event does not fire.
That is the itemchanged event does not fire if the "data
column" changes its value, but the "display column" does
not.

any ideas for a work around?


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-09-08 16:50:20.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48c553b4.7354.1681692777@sybase.com>
Subject: Re: itemchanged event not firing
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
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: <48c557cc@forums-1-dub>
Date: 8 Sep 2008 09:50:20 -0700
X-Trace: forums-1-dub 1220892620 10.22.241.152 (8 Sep 2008 09:50:20 -0700)
X-Original-Trace: 8 Sep 2008 09:50:20 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87726
Article PK: 416982

The DDDW is an extended code table that looks up a data value based on the
selected display value. The display values must be unique or it will stop on
the first one it finds.
The solution is to make the display values unique. The common trick is to
concatenate the data value, often with some spaces in between, and size the
column width so that the data value is not visible.

<Sharon> wrote in message news:48c553b4.7354.1681692777@sybase.com...
> using PB 11.2 on vista
> I have an external datawindow with one column.
> column is a drop down datawindow
> display column is contract_no
> data column is id_contract
>
> there can be multiple contract_no, each with a different
> id_contract
>
> if the data in the "display column" changes the itemchanged
> event executes.
> if the user selects the same contract_no but with a
> different id_contract, the itemchanged event does not fire.
> That is the itemchanged event does not fire if the "data
> column" changes its value, but the "display column" does
> not.
>
> any ideas for a work around?