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.

DropDownDataWindow problem

2 posts in DataWindow Last posting was on 2008-10-09 10:21:05.0Z
COY Posted on 2008-10-09 07:21:32.0Z
Sender: 617b.48ed8a6e.1804289383@sybase.com
From: COY
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: DropDownDataWindow problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48edb0fc.6958.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Oct 2008 00:21:32 -0700
X-Trace: forums-1-dub 1223536892 10.22.241.41 (9 Oct 2008 00:21:32 -0700)
X-Original-Trace: 9 Oct 2008 00:21:32 -0700, 10.22.241.41
Lines: 30
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87951
Article PK: 417207

Hi all,

I have a problem on dddw as following:

In a main dw_1, it has a column with related to code table,
therefore, I use a dddw (dddw_a) for code table to let user
choose.

In dddw_a, just 2 columns, which are "code" (Data column)
and "Name" (Display column), data as following:

Code Name
----- ------------
AAA Chan Tai Man
BBB Chan Tai Man
CCC Chan ming ming

I can view 2 'Chan Tai Man' in the dddw, when I choose these
2 'Chan Tai Man', just pass 'AAA' code only, cannot pass
'BBB'.

I know that when I create a compute field (Name + Code) be
Display column, it can be pass correct code.

But in my case, I must need to show 'Name' only on the
display column.
How can I solve this problem (pass correct code where
"Display column" must be 'Name' only)??

Thank you very much!!


fisher <fisher_NO Posted on 2008-10-09 10:21:05.0Z
From: fisher <fisher_NO@SPAM_star.wckp.lodz.pl_PLEASE>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DropDownDataWindow problem
References: <48edb0fc.6958.1681692777@sybase.com>
In-Reply-To: <48edb0fc.6958.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 081008-1, 10/08/2008), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48eddb11@forums-1-dub>
Date: 9 Oct 2008 03:21:05 -0700
X-Trace: forums-1-dub 1223547665 10.22.241.152 (9 Oct 2008 03:21:05 -0700)
X-Original-Trace: 9 Oct 2008 03:21:05 -0700, vip152.sybase.com
Lines: 41
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87954
Article PK: 417210

Hi Coy,
this is extreme FAQ. Displayed values are to be unique, I wonder how
your user is able to distinguish those values? What if there will be 50
or more non unique values?

Modify display value to make them unique - you can add lots of spaces at
the end plus code this will make it almost invisible.

Regards

COY wrote:
> Hi all,
>
> I have a problem on dddw as following:
>
> In a main dw_1, it has a column with related to code table,
> therefore, I use a dddw (dddw_a) for code table to let user
> choose.
>
> In dddw_a, just 2 columns, which are "code" (Data column)
> and "Name" (Display column), data as following:
>
> Code Name
> ----- ------------
> AAA Chan Tai Man
> BBB Chan Tai Man
> CCC Chan ming ming
>
> I can view 2 'Chan Tai Man' in the dddw, when I choose these
> 2 'Chan Tai Man', just pass 'AAA' code only, cannot pass
> 'BBB'.
>
> I know that when I create a compute field (Name + Code) be
> Display column, it can be pass correct code.
>
> But in my case, I must need to show 'Name' only on the
> display column.
> How can I solve this problem (pass correct code where
> "Display column" must be 'Name' only)??
>
> Thank you very much!!