Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

Linking to later version

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NevilleT - 23 Jul 2007 00:12 GMT
I suspect this is an Access 2007 issue.  I have an application in Access 2000
which links to another database.  As part of implementing an upgrade, I
created an Access program to modify the existing Access 2000 back end.  The
program modifies a few fields, adds a few new fields and tables, and exports
the result as a new back end.  

One user who has Access 2007 ran the back end upgrade and when they tried to
link tables received the message.

"Microsoft Office Access does not support linking to an Access Database or
Excel Office Workbook saved in a format that is a later version then the
current database format."

Is this something new in 2007 as I have been using the upgrade approach for
a number of years without a problem?  Any suggestions as to how I can rectify
it without creating a separate 2007 version?
Allen Browne - 23 Jul 2007 02:37 GMT
Access 2007 has a new file format (ACCDB.) It can also work with the Access
2000 MDB or the Access 2002/2003 MDB.

So, if your user has an A2000 MDB, A2007 would be fine with that.
However, if they have an ACCDB file, the A2000 file will not be able to open
it.

Signature

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.

>I suspect this is an Access 2007 issue.  I have an application in Access
>2000
[quoted text clipped - 18 lines]
> rectify
> it without creating a separate 2007 version?
NevilleT - 23 Jul 2007 05:10 GMT
Hi Allen
The front end is a 2000 mde.  The program that does the mods to the tables
is a 2003 mdb.  The original tables are 2003 mdb which are imported into the
conversion program then exported to a new file.  I am guessing Access 2007
would export them as Access 2000 format???

> Access 2007 has a new file format (ACCDB.) It can also work with the Access
> 2000 MDB or the Access 2002/2003 MDB.
[quoted text clipped - 25 lines]
> > rectify
> > it without creating a separate 2007 version?
Allen Browne - 23 Jul 2007 05:59 GMT
A2007 is exporting to a new file? How do you create that file?

Here's an example of CreateDatabase():
   http://allenbrowne.com/func-DAO.html#CreateDatabaseDAO

You should be able to add dbVersion40 to get it to create the MDB format.

Signature

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.

> Hi Allen
> The front end is a 2000 mde.  The program that does the mods to the tables
[quoted text clipped - 37 lines]
>> > rectify
>> > it without creating a separate 2007 version?
NevilleT - 23 Jul 2007 09:06 GMT
Hi Allen

Code is:

Sub subCreateNewTable()
Dim dbNew As Database                                       ' The new
database object
   
   Set ws = DBEngine.Workspaces(0)                         ' Create workspace
   strNewTables = Forms!frmUpgrade.txtPath & "PA5_Data_Tables.mdb"        '
The file to export to
     
   If Dir(strNewTables) <> "" Then                         'Make sure there
isn't already a file with that name
           Kill strNewTables
   End If
   
   Set dbNew = ws.CreateDatabase(strNewTables, dbLangGeneral)      ' Create
the database
   
   ' Identify records to export
   Set dbs = CurrentDb                                      ' Nominate the
database
   strSQL = "SELECT DISTINCT MSysObjects.Name, MSysObjects.Type " & _
               "FROM MSysObjects " & _
               "WHERE (((MSysObjects.Name) Not Like ""msys*"") AND
((MSysObjects.Type)=1));"
   Set rst = dbs.OpenRecordset(strSQL)                     ' Recordset of
table names
   
   Do While Not rst.EOF                                    ' Export each
table (rst!Name is the table name)
   
       If Left(rst!Name, 1) = "t" Then                     ' Only export
tables starting with tbl....
           subDisplayProgress "Exporting " & (rst!Name) & _
               " to PA5_Data_Tables.mdb"                       ' Display
progress
   
           DoCmd.TransferDatabase acExport, "Microsoft Access", _
                   strNewTables, acTable, rst!Name, rst!Name, False
       End If
       rst.MoveNext
   
   Loop
   
       subHideProgress                                     ' Hide the
progress label
   
       Set dbs = Nothing                                   ' Clean up
       Set dbsNew = Nothing
       Set rst = Nothing

End Sub

> A2007 is exporting to a new file? How do you create that file?
>
[quoted text clipped - 44 lines]
> >> > rectify
> >> > it without creating a separate 2007 version?
Allen Browne - 23 Jul 2007 10:10 GMT
So did you try adding the dbVersion40 to the CreateDatabase line as
suggested?

Signature

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.

> Hi Allen
>
[quoted text clipped - 61 lines]
>>
>> You should be able to add dbVersion40 to get it to create the MDB format.
NevilleT - 24 Jul 2007 06:16 GMT
Have made the changes and am waiting for my South African client to come
online and test it.  Will keep you posted Allen.  Thanks again from the other
side of the continent.

> So did you try adding the dbVersion40 to the CreateDatabase line as
> suggested?
[quoted text clipped - 64 lines]
> >>
> >> You should be able to add dbVersion40 to get it to create the MDB format.
NevilleT - 24 Jul 2007 07:38 GMT
Thanks again Allen.  It worked.  One day I will get to Perth and buy you a
well earned beer.

> Have made the changes and am waiting for my South African client to come
> online and test it.  Will keep you posted Allen.  Thanks again from the other
[quoted text clipped - 68 lines]
> > >>
> > >> You should be able to add dbVersion40 to get it to create the MDB format.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.