Syntax Error in FROM clause

AUcane

New Member
Joined
May 22, 2003
Messages
18
I have a very simple query set up in my database that merely selects employees from a master list that fall under a certain parameter.

I am trying to incorporate this query into Excel via the Import External Data>New Database Query and using a SQL query designed to create the refreshable data. When I try to view the data in the MS SQL Query mode, i get error message "Syntax Error in From Clause", and i am not able to view the data.

Any thoughts?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi,

Are you able to view the SQL statement? We'll need to see that to be able to fix your problem.
 
Upvote 0
Here's the SQL statement:

SELECT `_EMPLOYEE QUERY`.last, `_EMPLOYEE QUERY`.first
FROM `I:\databases 7`.`5\aSCII Interfaces\Allocations`.`_EMPLOYEE QUERY` `_EMPLOYEE QUERY`


"last" and "first" are the two fields of the access query.
 
Upvote 0

Forum statistics

Threads
1,221,573
Messages
6,160,593
Members
451,657
Latest member
Ang24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top