Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 917415 - Last Review: April 10, 2006 - Revision: 1.1
Access 2002 exits when you create or try to modify an in-line function when the Access 2002 project is connected to a SQL Server 2005 database
Consider the following scenario. A Microsoft Access 2002 project is connected to a Microsoft SQL Server 2005 database. You create a new in-line function or try to modify an existing in-line function in the Access 2002 project. In this scenario, Access 2002 exits, and you receive an error message that is similar to the following:
Microsoft Access has encountered a problem and needs to
close. We are sorry for the inconvenience.
When you view the details
of the error report, you notice that the error occurred in the Msaccess.exe
process.
To work around this problem, click one of the following commands on the
Insert menu when you want to create a new function:
- Create Text
Scalar Function
- Create Text Table-Valued Function
Another method to work around this problem is to create a new query
in the SQL Server Management Studio. Use the
Design Query in Editor command.
To do this, follow these steps:
- On the File menu, click
New, and then click Query with Current
Connection.
- On the Query menu, click
Design Query in Editor.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
For more information about how to design queries and views
in SQL Server 2005, visit the following Microsoft Developer Network (MSDN) Web
site:
APPLIES TO
- Microsoft Access 2002 Standard Edition
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