Article ID: 917418 - View products that this article applies to.
You receive an error message when you try to create or to modify the design of an SQL object in Microsoft Office Access 2003 or in Microsoft Access 2002. Consider the following scenario:
When you click OK in the message box, you may receive one of the following error messages:
This version of Microsoft Office Access doesn't support design changes with the version of Microsoft SQL Server your Access project is connected to. See the Microsoft Office Update Web site for the latest information and downloads (on the Help menu, click Office on the Web). Your design changes will not be saved.
You have connected to a version of SQL Server later than SQL Server 2000. The version of Visual Studio or Access that you are using was released before the version of SQL Server to which you are connected. For this reason, you might encounter problems. Please check with Microsoft to see if there is a service pack that you should apply to Visual Studio or Office in order to get support for the version of SQL Server to which you are connected. You can continue but any new object types might not be enumerated, and it will not be possible to save any objects or database diagrams that you create using the Visual Database Tools.
Office Access 2003 and Access 2002 were released before SQL Server 2005. Therefore, Office Access 2003 and Access 2002 were not designed to support the use of graphical design tools when an Access project is connected to a SQL Server 2005 database.
To work around this behavior, use one of the following methods, depending on your situation.
Method 1: Use Microsoft Visual Basic for Applications code to create or to modify a SQL object designMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
If you do not have to use a graphical user interface, you can use Transact-SQL statements in Visual Basic for Applications code to create or to modify a design for SQL objects. The following is a sample code fragment to demonstrate how to change an existing view in the current project by using Transact-SQL statements.
For more information about how to create and how to use Transact-SQL statements, visit the following Microsoft Developer Network (MSDN) Web site:
Method 2: Use the SQL Server Management Studio to create or to modify a SQL object designIf you want to use a graphical user interface, you can use the SQL Server Management Studio to create or to modify a design for existing SQL objects. For more information about how to use the SQL Server Management Studio, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms174173.aspxNote Microsoft SQL Server 2005 Express edition does not include the SQL Server Management Studio. However, you can download a community technology preview of Microsoft SQL Server Management Studio Express. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/907716/ )How to obtain SQL Server Management Studio Express (SSMSE) community technology preview (CTP)
SQL Server 2005 contains many improvements, and significant changes are required to make the Access graphical design tools function. We currently have no plans to release an update that lets you use the Access graphical design tools with SQL objects that are in a SQL Server 2005 database. However, future Access product releases may offer limited support for using graphical design tools when connected to a SQL Server 2005 database. We will update this article with information as we get closer to the release dates for the next version of Access.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/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
Contact us for more help
Connect with Answer Desk for expert help.