[AccessD] Using FreeFile

Arthur Fuller fuller.artful at gmail.com
Mon Oct 17 14:36:13 CDT 2022


I'm still trying to get my head around using FreeFile. The basics are
simple enough:
1. call freefile, get an available filename
2. open said file
3. write stuff to it
4. close said file

In the demo I'm looking at (from MS Learn), it's all self-contained in one
sub. A couple of things puzzle me. First is step 3, Write.
Having performed steps 1 and 2, if I now move into another function, is the
opened file still available to write to? If I call another function, and
then return to the original file (which created and opened the freefile),
and then close the file, will that work?

-- 
Arthur


More information about the AccessD mailing list