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.

DW Saveas

2 posts in DataWindow Last posting was on 2009-07-20 15:49:01.0Z
pyanko Posted on 2009-07-20 15:23:44.0Z
Sender: 7b46.4a6485c4.846930886@sybase.com
From: pyanko
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: DW Saveas
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a648bff.1c9.1681692777@sybase.com>
NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
Date: 20 Jul 2009 08:23:44 -0700
X-Trace: forums-3-dub.sybase.com 1248103424 10.22.241.188 (20 Jul 2009 08:23:44 -0700)
X-Original-Trace: 20 Jul 2009 08:23:44 -0700, forums-3-dub.sybase.com
Lines: 4
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89662
Article PK: 418850

How do I retrieve the file name that was selected using the
saveas dialog?

Thanks


KL Posted on 2009-07-20 15:49:01.0Z
Sender: 7f8a.4a648acc.1804289383@sybase.com
From: KL
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DW Saveas
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a6491ed.6ca.1681692777@sybase.com>
References: <4a648bff.1c9.1681692777@sybase.com>
NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
Date: 20 Jul 2009 08:49:01 -0700
X-Trace: forums-3-dub.sybase.com 1248104941 10.22.241.188 (20 Jul 2009 08:49:01 -0700)
X-Original-Trace: 20 Jul 2009 08:49:01 -0700, forums-3-dub.sybase.com
Lines: 8
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89663
Article PK: 418851

Use GetFileSaveName() to get the filename.
Feed that to dw_1.SaveAs()

HTH KL

> How do I retrieve the file name that was selected using
> the saveas dialog?
>
> Thanks