Hi
Using a pivot table in Excel to connect to a Table of external data in Access
ie I select get data from External Database/Access
microsoft query starts and everything works fine until I get to the final
section and when I push finish to display the data in Excel I get an error message
"Syntax error in FROM clause"
So I google this and get to the Microsoft website where I get the following explanation:
SYMPTOMS
When you use Microsoft Query to return external data to a worksheet in Microsoft Excel or when you view returned data in Microsoft Query, you may receive the following error message:
Syntax error in FROM clause.
Back to the top
CAUSE
This problem occurs if you attempt to retrieve data from a Microsoft Access or Microsoft Excel database, and the path to the database contains a period (.), for example:
C:\My.Test\Northwind.mdb
Back to the top
WORKAROUND
To work around this problem, change the path to the database so that it does not contain any periods, for example:
C:\MyTest\Northwind.mdb C:\My Test\Northwind.mdb
As I work on a network my filepath always has a "." between my first and surname
ie R:/Joe.Bloggs/DB1
So I find a location on the network where there is not a ". "contained in the path and put it there but get same error
So I put it on a memory stick and still the same error when I try to connect via the pivot table
Does anyone know what I am doing wrong?
Kind Regards
Thomas
Using a pivot table in Excel to connect to a Table of external data in Access
ie I select get data from External Database/Access
microsoft query starts and everything works fine until I get to the final
section and when I push finish to display the data in Excel I get an error message
"Syntax error in FROM clause"
So I google this and get to the Microsoft website where I get the following explanation:
SYMPTOMS
When you use Microsoft Query to return external data to a worksheet in Microsoft Excel or when you view returned data in Microsoft Query, you may receive the following error message:
Syntax error in FROM clause.
Back to the top
CAUSE
This problem occurs if you attempt to retrieve data from a Microsoft Access or Microsoft Excel database, and the path to the database contains a period (.), for example:
C:\My.Test\Northwind.mdb
Back to the top
WORKAROUND
To work around this problem, change the path to the database so that it does not contain any periods, for example:
C:\MyTest\Northwind.mdb C:\My Test\Northwind.mdb
As I work on a network my filepath always has a "." between my first and surname
ie R:/Joe.Bloggs/DB1
So I find a location on the network where there is not a ". "contained in the path and put it there but get same error
So I put it on a memory stick and still the same error when I try to connect via the pivot table
Does anyone know what I am doing wrong?
Kind Regards
Thomas