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.

SaveAsFormattedText

2 posts in DataWindow Last posting was on 2008-03-28 17:01:01.0Z
SNS Posted on 2008-03-27 19:41:26.0Z
Sender: 688.47ea6cb5.1804289383@sybase.com
From: SNS
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: SaveAsFormattedText
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47ebf866.299e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Mar 2008 11:41:26 -0800
X-Trace: forums-1-dub 1206646886 10.22.241.41 (27 Mar 2008 11:41:26 -0800)
X-Original-Trace: 27 Mar 2008 11:41:26 -0800, 10.22.241.41
Lines: 15
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86538
Article PK: 415798

Hi,
This function is very handy as I am trying to save an XLS
report to a txt format, the only problem being that I don't
want the headings to be saved when I saveas a txt report. Is
there a way to get rid of the headings and save only the
data, without needing to loop through the controls and
destroy all the headings using modify(before doing the
SaveAsFormattedText )

Are there any specific options available like in the regular
saveas function where you can specify not to save the
headings ?

Thanks,
SNS


SNS Posted on 2008-03-28 17:01:01.0Z
Sender: 3e03.47ecfccf.1804289383@sybase.com
From: SNS
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: SaveAsFormattedText
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47ed244d.429a.1681692777@sybase.com>
References: <47ebf866.299e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 28 Mar 2008 09:01:01 -0800
X-Trace: forums-1-dub 1206723661 10.22.241.41 (28 Mar 2008 09:01:01 -0800)
X-Original-Trace: 28 Mar 2008 09:01:01 -0800, 10.22.241.41
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:86564
Article PK: 415824

Got it working by just setting the header height to 0 before
calling SaveAsFormattedText

Thanks,
SNS

> Hi,
> This function is very handy as I am trying to save an XLS
> report to a txt format, the only problem being that I
> don't want the headings to be saved when I saveas a txt
> report. Is there a way to get rid of the headings and save
> only the data, without needing to loop through the
> controls and destroy all the headings using modify(before
> doing the SaveAsFormattedText )
>
> Are there any specific options available like in the
> regular saveas function where you can specify not to save
> the headings ?
>
> Thanks,
> SNS