BookmarkSubscribeRSS Feed
Addison
Fluorite | Level 6

 

I am connecting ACCESS database using below coding

Libname ACCESS "Z:\MyDept\HEM\ClinHem\CTM\Tracking_be.accdb";

 

and the ERROR message showing MS ACCES requires a new version.

ERROR: Connect: The database you are trying to open requires a newer version of Microsoft Access.
ERROR: Error in the LIBNAME statement.

 

Our team create lots reports in the MS Access and really don't want to update MS Access to the new version. Is there any other way I can connection to MS Access without export individual table to excel file and then import them to SAS?

 

 

3 REPLIES 3
ballardw
Super User

Which specific version of Access to have installed? Is it 32-bit or 64-bit? (when SAS and Access/Excel are different "bitness" problems arise) . You may have to use the PC Files server approach.

 

Please copy from the LOG the LIbname statement plus all the notes or messages you get. Paste into a text box opened on the forum with the </> so we can see all the bits.

 

Your LIBNAME statement should have the NAME of the library before the ACCESS Keyword when used:

 

Libname mylib Access Path="c:\somefolder\mydb.accdb";

or just the reference

Libname mylib "c:\somefolder\mydb.accdb";

There is a chance that attempting to use the keyword ACCESS as the libref may be an issue.

 

This should work with any version of Access back to Access97. If you have data prior to that version you may have more headaces.

Addison
Fluorite | Level 6

Access version 2008.

Our company upgrade to win 10 and is 64 bit.

I create a link in ODBC and it shows 32/64 bit then in SAS i try to create new library but the error message keep telling me I need to have new version of access

Addison_0-1615479253933.png

Addison_1-1615479334291.png

 

 

SASKiwi
PROC Star

If you installed an Access driver compatible with Access 2008 then that should fix your problem. Try googling for this and see if you can find a driver to download from Microsoft. 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1265 views
  • 0 likes
  • 3 in conversation