<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to query Access Linked Tables? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-query-Access-Linked-Tables/m-p/514599#M74161</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;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" ) ) )
	) &amp;lt;&amp;lt; Run Foreground;
	Wait( 0.01 );
	dt = Data Table("QueryGetData");
	Wait( 0.01 );
	dt &amp;lt;&amp;lt; Show Window( 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:50:23 GMT</pubDate>
    <dc:creator>SpideyStrange</dc:creator>
    <dc:date>2023-06-10T23:50:23Z</dc:date>
    <item>
      <title>How to query Access Linked Tables?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-query-Access-Linked-Tables/m-p/514599#M74161</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;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" ) ) )
	) &amp;lt;&amp;lt; Run Foreground;
	Wait( 0.01 );
	dt = Data Table("QueryGetData");
	Wait( 0.01 );
	dt &amp;lt;&amp;lt; Show Window( 0 );
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:50:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-query-Access-Linked-Tables/m-p/514599#M74161</guid>
      <dc:creator>SpideyStrange</dc:creator>
      <dc:date>2023-06-10T23:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to query Access Linked Tables?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-query-Access-Linked-Tables/m-p/517562#M74385</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry that you have not received a reply yet.&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Phil&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 08:45:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-query-Access-Linked-Tables/m-p/517562#M74385</guid>
      <dc:creator>Phil_Kay</dc:creator>
      <dc:date>2022-07-05T08:45:26Z</dc:date>
    </item>
  </channel>
</rss>

