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 design
Microsoft 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.
Dim strSQL As String
strSQL = "ALTER VIEW [dbo].[vwView1] AS " & _
"SELECT EmployeeID, LastName, FirstName, Region " & _
"FROM dbo.Employees " & _
"WHERE (Region IS NULL)"
CurrentProject.AccessConnection.Execute strSQL
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 design
If 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:
Note 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:
907716�
How to obtain SQL Server Management Studio Express (SSMSE) community technology preview (CTP)