Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 212155 - Last Review: November 5, 2003 - Revision: 3.1
XL2000: Errors Appear When Using an ODBC Text Data Source (DSN)
This article was previously published under Q212155
When you work with a file data source name (DSN) that uses a text Open
Database Connectivity (ODBC) driver, either of the following symptoms
occur:
- When you attempt to add a table, the following error message appears:
where name is the name of the database.
- When you create a PivotTable, one of the following error messages
appears:
-or-
Can't Access Table
This error message appears when both of the following conditions are true:
- You attempt to add a table to a query.
-and- - That text file is open in another Office program.
Problems Obtaining Data, or PivotTable Is Not Valid
These error messages appear when you attempt to create a server-based page
field in a PivotTable when the source data is from an external text
file.
Can't Access Table
To work around this problem, close the text file in the other program
before you add it to the query.
Problems Obtaining Data, or PivotTable Is Not Valid
When you use a File DSN that uses a text ODBC driver, you cannot create a
server-based page field. Update the PivotTable to reset the PivotTable
field settings.
If you want to use a server-based page field in a PivotTable, import
the text database into another program, for example, Microsoft Access. For
more information about importing data into Microsoft Access, refer to
Microsoft Access Help.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Unlike other types of ODBC drivers, the Text ODBC driver uses file locking
instead of record locking. This means that records are not available to
more than one program at a time. When you open the text file in one
program, and then attempt to open the same file in another program, it is
an access violation. You cannot use any driver that uses file locking
instead of record locking to create a PivotTable with server-based page
fields. Other ODBC drivers do not exhibit this problem.
For additional information about creating DSNs, click the article number below
to view the article in the Microsoft Knowledge Base:
213772Â
(http://kbalertz.com/Feedback.aspx?kbNumber=213772/EN-US/
)
XL2000: How to Use System, User, and File Data Sources
165866Â
(http://kbalertz.com/Feedback.aspx?kbNumber=165866/EN-US/
)
XL: How to Use File DSNs and DSN-less Connections
APPLIES TO
- Microsoft Excel 2000 Standard Edition
| kbbug kberrmsg kbpending KB212155 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate