Re: How To Rebuild Objects From Text Files?



On May 18, 2:57 am, Wayne <cqdigi...@xxxxxxxxxxxxxxx> wrote:
I've used the code from the linked page that Lyle has posted above to
save and then load as text.  The saving bit works fine but then the
code fails at:

app.LoadFromText acForm, Name, FileName

with the error:

Runtime error '2285'
(Database Name) can't create the output file.

Not sure what's causing this.  Any help would be appreciated.

The code, in total, creates text files and a new copy of the database.
It uses another instance of the Access application to do so. If you
leave some of the code out; it's likely to err. So, first question,
did you leave some of the code out?
.



Relevant Pages