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.

Sort functionality

2 posts in Objects Last posting was on 2003-05-07 13:52:26.0Z
Shalini Posted on 2003-05-07 13:51:37.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Shalini" <jain_shalini@lycos.com>
Organization: 203.197.90.136
X-Newsreader: AspNNTP 1.50 (Tri Hoang)
Subject: Sort functionality
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Wed, 07 May 2003 06:51:37 -0700
NNTP-Posting-Host: dsl-206.169.167.22.wenet.com 206.169.167.22
Lines: 15
Message-ID: <364_#IBpI$JFDHA.310@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7384
Article PK: 734672

Hi
Can anyone tell me why is this expression not working
the expression is given to a computed field in an datawindow-a.

If(IsNull(pgm_cde),space(5),pgm_cde)

After copying the rows from an another datastore-b to the above datawindow-a.
I am retrieving the values thru getitemstring the value retrieved is null and
not spaces
The column consists of Null value, but when i try to retrieve the values from
the datawindow it gives me null value instead of space .

-Shalini
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Chris Werner Posted on 2003-05-07 13:52:26.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Chris Werner" <cw@f-s.de>
Subject: Re: Sort functionality
Date: Wed, 7 May 2003 15:52:26 +0200
Lines: 30
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
NNTP-Posting-Host: fs-software.berlin.kkf.net 212.63.55.62
Message-ID: <364_uFoX5CKFDHA.344@forums-2-dub>
References: <364_#IBpI$JFDHA.310@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7385
Article PK: 734671

try to call dw_a.groupcalc() after
copying the rows from ds_b.



--
Chris Werner

"Shalini" <jain_shalini@lycos.com> schrieb im Newsbeitrag
news:%23IBpI$JFDHA.310@forums-1-dub...

> Hi
> Can anyone tell me why is this expression not working
> the expression is given to a computed field in an datawindow-a.
>
> If(IsNull(pgm_cde),space(5),pgm_cde)
>
> After copying the rows from an another datastore-b to the above
datawindow-a.
> I am retrieving the values thru getitemstring the value retrieved is null
and
> not spaces
> The column consists of Null value, but when i try to retrieve the values
from
> the datawindow it gives me null value instead of space .
>
> -Shalini
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp