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 question

2 posts in DataWindow Last posting was on 2009-03-23 12:58:14.0Z
Sharon Posted on 2009-03-23 12:21:07.0Z
Sender: 20d7.49c77e73.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: SaveAsFormattedText question
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49c77eb3.20df.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 23 Mar 2009 04:21:07 -0800
X-Trace: forums-1-dub 1237810867 10.22.241.41 (23 Mar 2009 04:21:07 -0800)
X-Original-Trace: 23 Mar 2009 04:21:07 -0800, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89045
Article PK: 418297

using pb 11.5

li_return = arg_datawindow.SaveAsFormattedText(ls_pathname,
EncodingANSI!,'~t','')

Using the above to export a datawindow as formatted text.
The datawindow has 3 sub-reports that do not get exported.

Any way to get the sub-reports exported along with the main
data window?


Scott Morris Posted on 2009-03-23 12:58:14.0Z
From: "Scott Morris" <bogus@bogus.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49c77eb3.20df.1681692777@sybase.com>
Subject: Re: SaveAsFormattedText question
Lines: 17
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: <49c78766$1@forums-1-dub>
Date: 23 Mar 2009 04:58:14 -0800
X-Trace: forums-1-dub 1237813094 10.22.241.152 (23 Mar 2009 04:58:14 -0800)
X-Original-Trace: 23 Mar 2009 04:58:14 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89047
Article PK: 418299


<Sharon> wrote in message news:49c77eb3.20df.1681692777@sybase.com...
> using pb 11.5
>
> li_return = arg_datawindow.SaveAsFormattedText(ls_pathname,
> EncodingANSI!,'~t','')
>
> Using the above to export a datawindow as formatted text.
> The datawindow has 3 sub-reports that do not get exported.
>
> Any way to get the sub-reports exported along with the main
> data window?

Not with this format. The Saveas functions will generally either save the
data layer or the presentation layer. Without knowing the purpose, I can't
really offer a suggestion. Try searching the newsgroups as this is a FAQ.