PC Review


Reply
Thread Tools Rate Thread

Cannot Convert Access 2002 DB To Access 2007

 
 
FlyGuy
Guest
Posts: n/a
 
      31st Dec 2009
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
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      1st Jan 2010
Suggestions:

1. While the database is NOT open, delete any LDB file in the same folder as
the database. (The LDB contains locking info.)

2. Temporarily clear any Start Up form you have defined, and rename any
AutoExec macro.

3. Perform the maintenance steps suggested here:
http://allenbrowne.com/recover.html

4. If you are still stuck, see:
http://www.access.qbuilt.com/html/co...#CannotMakeMDE

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"FlyGuy" <(E-Mail Removed)> wrote in message
news:E2421AFE-FD69-462E-AFCA-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Tom Wickerath
Guest
Posts: n/a
 
      1st Jan 2010
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

 
Reply With Quote
 
FlyGuy
Guest
Posts: n/a
 
      1st Jan 2010
Allen, thanks very much for the suggestion to clear out any start up form; I
had a Switchboard opening on load.

After I elected "none" for a startup form, I was able to convert.

Converting also fixed the import code not working.

--
Thanks,

FlyGuy


"Allen Browne" wrote:

> Suggestions:
>
> 1. While the database is NOT open, delete any LDB file in the same folder as
> the database. (The LDB contains locking info.)
>
> 2. Temporarily clear any Start Up form you have defined, and rename any
> AutoExec macro.
>
> 3. Perform the maintenance steps suggested here:
> http://allenbrowne.com/recover.html
>
> 4. If you are still stuck, see:
> http://www.access.qbuilt.com/html/co...#CannotMakeMDE
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
>
> "FlyGuy" <(E-Mail Removed)> wrote in message
> news:E2421AFE-FD69-462E-AFCA-(E-Mail Removed)...
> > 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

>
> .
>

 
Reply With Quote
 
FlyGuy
Guest
Posts: n/a
 
      1st Jan 2010
Hi Tom, thank you very much for the suggestion.

I had a Switchboard opening on load.

After I elected "none" for a startup form, I was able to convert.

Converting also fixed the import code not working.

I note that, after converting, when the Switchboard was opening in
"overlapping windows" mode, the Access title bar did not indicate the file
version as 2007.

I switched to tabbed view, and the file type now shows.

--
Thanks,

FlyGuy


"Tom Wickerath" wrote:

> 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

 
Reply With Quote
 
GeoffG
Guest
Posts: n/a
 
      2nd Jan 2010
Allen,

Very many thanks for building a wonderful website for Access
developers.

This article is a stunning revelation:
http://allenbrowne.com/ser-47.html#SaveAsText

Happy New Year
Geoff




"Allen Browne" <(E-Mail Removed)> wrote in message
news:uM$j#(E-Mail Removed)...
> Suggestions:
>
> 1. While the database is NOT open, delete any LDB file in
> the same folder as the database. (The LDB contains locking
> info.)
>
> 2. Temporarily clear any Start Up form you have defined,
> and rename any AutoExec macro.
>
> 3. Perform the maintenance steps suggested here:
> http://allenbrowne.com/recover.html
>
> 4. If you are still stuck, see:
>
> http://www.access.qbuilt.com/html/co...#CannotMakeMDE
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
>
> "FlyGuy" <(E-Mail Removed)> wrote in
> message
> news:E2421AFE-FD69-462E-AFCA-(E-Mail Removed)...
>> 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

>


 
Reply With Quote
 
Allen Browne
Guest
Posts: n/a
 
      2nd Jan 2010
Great. Feedback appreciated.

Enjoy 2010.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"GeoffG" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> Allen,
>
> Very many thanks for building a wonderful website for Access developers.
>
> This article is a stunning revelation:
> http://allenbrowne.com/ser-47.html#SaveAsText
>
> Happy New Year
> Geoff


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Convert Access 2003 Application To Access 2007 Version EarlCPhillips Microsoft Access VBA Modules 2 8th Mar 2010 10:44 PM
Convert .mdb 2002 to Access 2007 .accdb mfi Microsoft Access External Data 2 30th Mar 2009 02:45 PM
convert Access 2000/2002 to Access 95/97 Sanjib Biswas Microsoft ADO .NET 2 14th Nov 2005 01:35 PM
convert workgroup file from Access 2002 to Access 97 Pradeep Microsoft Access Forms 1 22nd Mar 2005 05:41 PM
Convert from Access 1997 to Access 2002 =?Utf-8?B?Q2l0eSBvZiBDb25mdXNpb24=?= Microsoft Access 0 7th Oct 2004 02:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:01 AM.