Reply to: Re: [FB] fn fileexists... I remember reading somewhere that the volrefnum you get from FB commands is only meaningful to other FB commands and also is only valid for the duration of the program....(or if running uncompiled in FB then only valid for the duration of the FB session) You have to use a toolbox call to turn the volrefnum into a filerefnum or something like that. I can't remember all the details, but maybe this post will help somebody else remember. Rob Pete wrote: >>I run the program again; this time I check that the file does exist using >>the pre-stored filename/volrefnum. Works great. >> >>I quit FB and run the program again. I run the filename and volrefnum >>against the file exists fn, this time it tells me it doesn't exist! > >the vrefnum changes each time you ask for one... > >what you really need to do is to use a alias record > >hth > >Pete... > > >Voice/Answering Machine: 61 2 48621428 > Fax: 61 2 48621580 > > snailMail: P.O.Box 781 > Bowral NSW 2576 > Australia > >Check out: http://www.hinet.net.au/~furbies > >In the words of a 'famous' Vulcan: "Long Live And Prosper" > >-- >To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> > > >RFC822 header >----------------------------------- > > RECEIVED: from SF_Database by POP_Mailbox_-1304489631 ; 06 OCT 98 00:14:25 UT > Received: from ASSOCIATE.COM by mail.agendas.com > with SMTP (QuickMail Pro Server for MacOS 1.0.2); 06 OCT 98 00:14:17 UT > Received: (qmail 14988 invoked by alias); 6 Oct 1998 03:09:38 -0400 > Mailing-List: contact futurebasic-help@...; run by ezmlm > Reply-To: futurebasic@... > Delivered-To: mailing list futurebasic@... > Received: (qmail 14981 invoked from network); 6 Oct 1998 03:09:36 -0400 > Received: from netspace.hinet.net.au (root@...) > by stewart.pnet.msen.com with SMTP; 6 Oct 1998 03:09:36 -0400 > Received: from [203.21.107.43] (ts-01-11.hinet.net.au [203.21.107.43]) > by netspace.hinet.net.au (8.9.1/8.9.1) with SMTP id RAA26994 > for <futurebasic@...>; Tue, 6 Oct 1998 17:09:53 +1000 > Message-Id: <199810060709.RAA26994@...> > Date: Tue, 6 Oct 98 17:10:22 +1000 > x-mailer: Claris Emailer 1.1 > From: Pete <furbies@...> > To: "FB List" <futurebasic@...> > Mime-Version: 1.0 > Content-Type: text/plain; charset="US-ASCII" > Subject: Re: [FB] fn fileexists... >