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.
Back to the top
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. |
Back to the top
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Back to the top
For more information about how to design queries and views
in SQL Server 2005, visit the following Microsoft Developer Network (MSDN) Web
site:
Back to the top