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.

retrievestart - return 2

6 posts in DataWindow Last posting was on 2009-05-26 17:00:13.0Z
Sharon Posted on 2009-05-22 23:44:02.0Z
Sender: 2df1.4a173771.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: retrievestart - return 2
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a1738c2.2e06.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 22 May 2009 16:44:02 -0700
X-Trace: forums-1-dub 1243035842 10.22.241.41 (22 May 2009 16:44:02 -0700)
X-Original-Trace: 22 May 2009 16:44:02 -0700, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89397
Article PK: 418591

I have a datawindow with the script in the retrievestart
indicating "return 2"
Here's some sample code

num = 1
dw_rpt.retrieve(num)

num = 2
dw_rpt.retrieve(num)

*************
If I use that variable num on the report, (not as a
retrieval arguement, just to print it on the report)
powerbuilder changes all occurances of it to the value it
was the last time it was retrieved. It goes back & changes
it on the report from the first retrieval. I don't want it
to do this, any workaround?


Chris Pollach Posted on 2009-05-25 10:44:20.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a1738c2.2e06.1681692777@sybase.com>
Subject: Re: retrievestart - return 2
Lines: 30
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: <4a1a7684@forums-1-dub>
Date: 25 May 2009 03:44:20 -0700
X-Trace: forums-1-dub 1243248260 10.22.241.152 (25 May 2009 03:44:20 -0700)
X-Original-Trace: 25 May 2009 03:44:20 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89399
Article PK: 418589

Hi Sharon;

How and where are you using NUM on the report?

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

<Sharon> wrote in message news:4a1738c2.2e06.1681692777@sybase.com...
>I have a datawindow with the script in the retrievestart
> indicating "return 2"
> Here's some sample code
>
> num = 1
> dw_rpt.retrieve(num)
>
> num = 2
> dw_rpt.retrieve(num)
>
> *************
> If I use that variable num on the report, (not as a
> retrieval arguement, just to print it on the report)
> powerbuilder changes all occurances of it to the value it
> was the last time it was retrieved. It goes back & changes
> it on the report from the first retrieval. I don't want it
> to do this, any workaround?


Sharon Posted on 2009-05-26 12:24:12.0Z
Sender: 4a48.4a1bdeaf.1804289383@sybase.com
From: sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: retrievestart - return 2
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a1bdf6c.4a71.1681692777@sybase.com>
References: <4a1a7684@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 26 May 2009 05:24:12 -0700
X-Trace: forums-1-dub 1243340652 10.22.241.41 (26 May 2009 05:24:12 -0700)
X-Original-Trace: 26 May 2009 05:24:12 -0700, 10.22.241.41
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89400
Article PK: 418590

printing the num in the group trailer.

> Hi Sharon;
>
> How and where are you using NUM on the report?
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> <Sharon> wrote in message
> news:4a1738c2.2e06.1681692777@sybase.com... >I have a
> > datawindow with the script in the retrievestart
> > indicating "return 2" Here's some sample code
> >
> > num = 1
> > dw_rpt.retrieve(num)
> >
> > num = 2
> > dw_rpt.retrieve(num)
> >
> > *************
> > If I use that variable num on the report, (not as a
> > retrieval arguement, just to print it on the report)
> > powerbuilder changes all occurances of it to the value
> > it was the last time it was retrieved. It goes back &
> > changes it on the report from the first retrieval. I
> > don't want it to do this, any workaround?
>
>