Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield <lyle.fairfield@xxxxxxxxx>
- Date: Sun, 18 May 2008 07:01:37 -0700 (PDT)
On May 18, 6:55 am, Wayne <cqdigi...@xxxxxxxxxxxxxxx> wrote:
No, I'm using the code in total that I copied from your linked page.
It creates the text files and a new database minus the objects in a
new folder, but stops with the error at the line of code that I posted
when trying to recreate the forms. I don't have any data pages, so the
forms are the first thing that it is trying to recreate.
I don't know. A Search for "can't create the output file" in this
newsgroup doesn't find anything pertinent; ditto for 2285.
But a general Google search for "can't create the output file 2285"
returns many hits. A really quick glance at these might make one
wonder if the error is related to file attributes or folder
permissions. But when you "LoadFromText" you're not creating an
"output file", at least not ostensibly (VB/Access might be doing this
with a temporary file behind the scenes.)
So, where from here? Have you tried "On Error Resume Next" to see if
any forms load?
You're writing, obviously, to the folder where the (new) app lives.
And you must have write permissions there or SaveAsText would fail.
That's all that comes to mind on a Sunday morning, but several other
people are using the SaveAsText-LoadFromText duality as a cleanser and
perhaps someone will recognize the problem and be able to help.
.
- Follow-Ups:
- Re: How To Rebuild Objects From Text Files?
- From: Wayne
- Re: How To Rebuild Objects From Text Files?
- References:
- How To Rebuild Objects From Text Files?
- From: Wayne
- Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield
- Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield
- Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield
- Re: How To Rebuild Objects From Text Files?
- From: Larry Linson
- Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield
- Re: How To Rebuild Objects From Text Files?
- From: Larry Linson
- Re: How To Rebuild Objects From Text Files?
- From: Wayne
- Re: How To Rebuild Objects From Text Files?
- From: lyle fairfield
- Re: How To Rebuild Objects From Text Files?
- From: Wayne
- How To Rebuild Objects From Text Files?
- Prev by Date: Re: Most recent date
- Next by Date: Access 2003 v/s Access 2007
- Previous by thread: Re: How To Rebuild Objects From Text Files?
- Next by thread: Re: How To Rebuild Objects From Text Files?
- Index(es):
Relevant Pages
|