An "ERROR [42000] [Microsoft][ODBC Text Driver] Syntax error in FROM clause." Error Occurs On A Quick Fields 8 Real-Time Lookup Process.

May 23, 2011 | KB: 1012794
Quick Fields 8

Summary

When you configure a Quick Fields 8 session with a Field Lookup (Real-Time Lookup) process to retrieve information from a .CSV file input, you may receive the following error message:

    ERROR [42000] [Microsoft][ODBC Text Driver] Syntax error in FROM clause.[Directory=] [Method=ExecuteFirstResult]

Cause

This error can occur if the input for your Field Lookup (Real-Time Lookup) process is a .CSV file where the file name contains a hyphen (-) character.

Workaround 1

Rename the source .CSV file so that the file name does not contain a hyphen.

In the Real-Time Processes tab of the Metadata Management for Document Class dialog box, make sure to update the Input section by selecting the renamed .CSV file.