ACC2002: "Incorrect Syntax near 'COLLATE'" Error Message When You Import Tables into a Microsoft Access Project (295211)
The information in this article applies to:
This article was previously published under Q295211 Novice: Requires knowledge of the user interface on single-user computers.
This article applies only to a Microsoft Access project (.adp).
SYMPTOMS
When you import a table into a Microsoft Access project (ADP) from another Access project, you may receive an error message similar to the following:
[Microsoft][ODBC SQL server Driver][SQL Server] Line 5: Incorrect Syntax near 'COLLATE'.
When you click OK, you receive the following message:
There were errors during the database transfer operation. Open the transfer log for details.
CAUSE
You may receive an error message similar to the one in the "Symptoms" section under the following conditions:
- You have one Access project that is connected to SQL Server 2000.
- You import a table from this Access project into another Access project that is connected to SQL Server 7.0.
- There are statements that are valid only in SQL Server 2000.
RESOLUTION- Open your Access project that is connected to SQL Server 2000.
- Right-click the table that you want to import to your Access project that is connected to SQL Server 7.0, and then click Export.
- In the Export Table To dialog box, click Text files (*.txt,*.csv,*.tab,*.asc) in the Save as type box.
- Note the location where the file will be exported. Then, click Export and proceed through the Export Wizard.
- Close the project that is connected to SQL Server 2000, and then open the project that is connected to SQL Server 7.0.
- On the File menu, point to Get External Data, and then click Import.
- In the Import dialog box, click Text files (*.txt,*.csv,*.tab,*.asc) in the Files of type box, browse to the location where the text file was exported, and then click Import.
- Follow the steps in the Import Wizard to import the file.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kberrmsg kbnofix KB295211 |
---|
|