cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
anasrullah
Level I

How do I connect to MS Access database in JMP 10?

Hello,

I can't seem to connect to an MS Access database in JMP 10.  The script below works fine in JMP 9.  The error I get is, "[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application".  Do I need to use a different driver ID?

Here is my script:

dt = Open Database(

"DSN=MS Access Database;DBQ=T:\Applications\Executables\Temescal Particle Count database.accde;DriverId=22;FIL=MS Access;MaxBufferSize=2048;PageTimeout=5;UID=admin;​",

"SELECT [Particle Data].[Tool Number],

[Particle Data].Date,

[Particle Data].[Tool Type],

[Particle Data].[Inner Row Pre Meas],

[Particle Data].[Inner Row Post Meas],

[Particle Data].[Outer Row Pre Meas],

[Particle Data].[Outer Row Post Meas],

[Particle Data].[Control Pre Meas],

[Particle Data].[Control Post Meas],

[Inner Row Post Meas]-[Inner Row Pre Meas]-[Control Post Meas]+[Control Pre Meas] AS RowA_Adders,

[Outer Row Post Meas]-[Outer Row Pre Meas]-[Control Post Meas]+[Control Pre Meas] AS RowB_Adders

FROM [Particle Data]

WHERE ((([Particle Data].[Tool Number])='Temescal 2800-10' Or

([Particle Data].[Tool Number])='Temescal 2800-13' Or

([Particle Data].[Tool Number])='Temescal 2800-14' Or

([Particle Data].[Tool Number])='Temescal 2800-17'))

ORDER BY [Particle Data].[Tool Number], [Particle Data].Date;"

);

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: How do I connect to MS Access database in JMP 10?

My first guess would be that your MS Access is installed as a 32bit application, and you installed JMP as a 64bit application.  You can not mix bit levels.  You will need to uninstall JMP 10, and reinstall it as a 32 bit application.

Jim

View solution in original post

3 REPLIES 3
txnelson
Super User

Re: How do I connect to MS Access database in JMP 10?

My first guess would be that your MS Access is installed as a 32bit application, and you installed JMP as a 64bit application.  You can not mix bit levels.  You will need to uninstall JMP 10, and reinstall it as a 32 bit application.

Jim
anasrullah
Level I

Re: How do I connect to MS Access database in JMP 10?

Thanks Jim!

Jeff_Perkinson
Community Manager Community Manager

Re: How do I connect to MS Access database in JMP 10?

Alternatively, you could install a 64-bit ODBC driver for MS Access.

-Jeff

Recommended Articles