ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel 2000 QueryTable to MSAccess SQL with "TRANSFORM" (https://www.excelbanter.com/excel-programming/439673-excel-2000-querytable-msaccess-sql-transform.html)

DSMessenger

Excel 2000 QueryTable to MSAccess SQL with "TRANSFORM"
 
In Excel 2000 using various QueryTables to link to Microsoft Access 2000
Database.

No issues ... when need to change various fields simply rebuild the SQL
String in Excel and requery database.

However wanted to use "TRANSFORM" so built the initial Query in Access then
copied over the SQL String back to Excel. It kept coming up with messages
about an Error associated with "TRANSFORM". Haven't got Excel 2000 here at
the moment so can't get exact wording of Error or try to again replicate.

Trying it again now in Excel 2003 and works fine. Assuming I haven't made a
typo is there any difference in Excel 2000 which would account for this ? Can
TRANSFORM Queries not be done in this earlier version ?

DSMessenger

Excel 2000 QueryTable to MSAccess SQL with "TRANSFORM"
 
Sorry ... don't know how to delete a post once created. I figured out what
was wrong with the SQL String. Slight difference between Access and Excel.
All fixed.

"DSMessenger" wrote:

In Excel 2000 using various QueryTables to link to Microsoft Access 2000
Database.

No issues ... when need to change various fields simply rebuild the SQL
String in Excel and requery database.

However wanted to use "TRANSFORM" so built the initial Query in Access then
copied over the SQL String back to Excel. It kept coming up with messages
about an Error associated with "TRANSFORM". Haven't got Excel 2000 here at
the moment so can't get exact wording of Error or try to again replicate.

Trying it again now in Excel 2003 and works fine. Assuming I haven't made a
typo is there any difference in Excel 2000 which would account for this ? Can
TRANSFORM Queries not be done in this earlier version ?



All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com