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.

How to saveas some fields of a datawindows?

2 posts in DataWindow Last posting was on 2009-11-12 13:46:45.0Z
Fernando Castillo Posted on 2009-11-12 12:41:32.0Z
From: Fernando Castillo <fcastilloa@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: How to saveas some fields of a datawindows?
Date: Thu, 12 Nov 2009 04:41:32 -0800 (PST)
Organization: http://groups.google.com
Lines: 10
Message-ID: <e421c8c4-9027-497c-926e-e78b3411b300@r5g2000yqb.googlegroups.com>
NNTP-Posting-Host: 164.77.206.108
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1258029692 8934 127.0.0.1 (12 Nov 2009 12:41:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 12 Nov 2009 12:41:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r5g2000yqb.googlegroups.com; posting-host=164.77.206.108; posting-account=UqtHbgoAAAClC4s1DpvfczYr4Y90sEaU
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!r5g2000yqb.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90260
Article PK: 409865

Hi!

I need to save a result of a datawindow retrieve (from a store
procedure), The saveas function works but save all columns and I need
save in xls format some columns.

Please help me to find the correct function to save my file.

Thanks in advance,
Fernando


Jeremy Lakeman Posted on 2009-11-12 13:46:45.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: How to saveas some fields of a datawindows?
Date: Thu, 12 Nov 2009 05:46:45 -0800 (PST)
Organization: http://groups.google.com
Lines: 13
Message-ID: <3c8a3b00-4476-47e0-a7a8-b562f7ec7491@z3g2000prd.googlegroups.com>
References: <e421c8c4-9027-497c-926e-e78b3411b300@r5g2000yqb.googlegroups.com>
NNTP-Posting-Host: 122.49.174.115
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1258033606 28004 127.0.0.1 (12 Nov 2009 13:46:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 12 Nov 2009 13:46:46 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z3g2000prd.googlegroups.com; posting-host=122.49.174.115; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
X-Original-Bytes: 1692
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!z3g2000prd.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90262
Article PK: 409866


On Nov 12, 10:41 pm, Fernando Castillo <fcastil...@gmail.com> wrote:
> Hi!
>
> I need to save a result of a datawindow retrieve (from a store
> procedure), The saveas function works but save all columns and I need
> save in xls format some columns.
>
> Please help me to find the correct function to save my file.
>
> Thanks in advance,
> Fernando

Copy only the columns you want to a datastore and save that?