Hi FlyGuy,
> I can open and use the 2002 version in 2007 just fine, but every attempt to
> convert to 2007 file format fails and generates an error message that says
> the file is already in use by [me] on my PC.
Try opening your 2002 version in Access 2007, but first hold down the shift
key. Keep the shift key held down the entire time that Access 2007 is
opening. You should not see any form open automatically. Then, without
opening any object (form, report, etc.) immediately attempt the conversion.
> Running the module with this line generates an error that "LogImportSpecs"
> is not defined.
You need to check the option to import the saved specifications. These are
saved in a normally hidden system table, so that's why you haven't found them
before, when looking for them. In Access 2007, select the External Data tab
of the ribbon. Then click on Access in the Import group. Browse to the Access
2002 version of your database, with the Import option selected. On the Tables
tab, click on the button labelled "Options >>". Check the option that reads
"Import/Export Specs". That should fix the error in your code.
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
"FlyGuy" wrote:
> I have a very small, simple Access DB that converts web site log files into
> easy to read Access reports.
>
> I can open and use the 2002 version in 2007 just fine, but every attempt to
> convert to 2007 file format fails and generates an error message that says
> the file is already in use by [me] on my PC.
>
> I've tried opening exclusively, etc; nothing helps.
>
> So the conversion never happens.
>
> I am the only user [and am the admin] on the PC.
>
> Any insight or suggestions would be appreciated.
>
> I have been able to make a new, blank 2007 DB and import all objects; but
> even with correct references set, this line of code always fails in 2007 bit
> works in the 2002 version when run in 2007 ...
>
> DoCmd.TransferText acImportFixed, "LogImportSpecs", "tblRawData", TempFile
>
> Running the module with this line generates an error that "LogImportSpecs"
> is not defined.
>
> In the 2002 version, in that module (that works), I cannot find any
> defination for "LogImportSpecs"; it is also not found in 2007 module (that
> doesn't work).
>
> Unfortunately, I created the DB so long ago I cannot remember what the
> "LogImportSpecs" references.
>
> There are no DB objects with the name "LogImportSpecs".
>
> So I was hoping that a simple conversion (not importing) might solve the
> issue.
> --
> Thanks,
>
> FlyGuy