Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

SYMPTOMS

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.

WORKAROUND

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:
  1. On the File menu, click New, and then click Query with Current Connection.
  2. On the Query menu, click Design Query in Editor.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about how to design queries and views in SQL Server 2005, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-US/library/ms177431(SQL.90).aspx (http://msdn2.microsoft.com/en-US/library/ms177431(SQL.90).aspx)

APPLIES TO
  • Microsoft Access 2002 Standard Edition
Keywords: 
kbprb KB917415
       

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