Re: Forms 4.5 TEXT_IO-Package

From: Joep Hendrix <joep.hendrix_at_wxs.nl>
Date: Tue, 14 Jul 1998 20:40:52 +0200
Message-ID: <35ABA634.5F27_at_wxs.nl>


Gudrun Janssen wrote:
>
> Hello,
>
> I'm working with Forms 4.5. And right now, I've got two
> questions concerning the TEXT_IO-Package.
>
> I' ve got a CANVAS-View with lots of Input-Fields. I want to
> program the opportunity to save a current state of Input into
> a file. So the user has some files like case1.txt, case2.txt and
> so on, where he can choose from at a later time and then load
> the input again into the different Input-Fields. Everything works
> fine as long as I don't care about the user specifying invalid
> filenames.
>
> How I can I check if the user entered a valid filename
> or not, before/while calling TEXT_IO.FOPEN?
> And second, how can I figure out, if the file already exists?
>
> Thanks for your help!
> Gudrun

Why don't you just store everything in a table instead of the filesystem.

Joep Received on Tue Jul 14 1998 - 20:40:52 CEST

Original text of this message