Microsoft KB Archive/917415

= 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 =

Article ID: 917415

Article Last Modified on 4/10/2006

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-





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 &quot;Applies to&quot; 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

Keywords: kbprb KB917415

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.