cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

How to query Access Linked Tables?

SpideyStrange
Level I

Hello,

 

I try to load a linked table from an Access database and keep getting the error "Tables () referenced in the SQL Query were not found in the database in access or evaluation of 'Table'.. ". The script works fine for the local tables and a local copy of the linked table. I'm using JMP 16. Please help!

 

Thanks in advance!

 

fn_GetData = Function( {test},
	New SQL Query(
				Connection(
			"ODBC:DBQ=path\fileName.accdb;
		DefaultDir=path;
		Driver={Microsoft Access Driver (*.mdb, *.accdb)};
		DriverId=25;
		FIL=MS Access;
		FILEDSN=path\filename.dsn;
		MaxBufferSize=2048;
		MaxScanRows=8;
		PageTimeout=5;
		SafeTransactions=0;
		Threads=3;
		UID=admin;
		UserCommitSync=Yes;"
		),
		QueryName( "QueryGetData" ),
		Select(),
		From( Table("tblName", Alias( "t1" ) ) )
	) << Run Foreground;
	Wait( 0.01 );
	dt = Data Table("QueryGetData");
	Wait( 0.01 );
	dt << Show Window( 0 );
);
1 REPLY 1
Phil_Kay
Staff


Re: How to query Access Linked Tables?

Hi,

Sorry that you have not received a reply yet.

I think this is a difficult one for the JMP Community to help with. It is not clear to me what you are trying to do and what the problem is. I suspect the problem is related to your database or database connection rather than anything related to JMP.

Regards,

Phil