Microsoft KB Archive/295209

= ACC2002: Access Quits After You Change the Case of a Parameter in a Stored Procedure or a Function =

Article ID: 295209

Article Last Modified on 9/27/2003

-

APPLIES TO


 * Microsoft Access 2002 Standard Edition

-



This article was previously published under Q295209



Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies only to a Microsoft Access project (.adp).



SYMPTOMS
In a Microsoft Access project, when you try to save a stored procedure or function or you click the Stored Procedure Parameters or Function Parameters tab of the property sheet after you change the case of a parameter in the design grid, you receive the following error message, and then Microsoft Access quits:

Microsoft Access has encountered a problem and needs to close. We are sorry for the inconvenience.

When you view the details in the error report, the report says that Microsoft Access caused an error in Vdt70.dll.



RESOLUTION
To work around this problem, make the case changes that you need to make to the parameter in SQL view. To do so, follow these steps:
 * 1) Open the stored procedure or the function in Design view.
 * 2) On the View menu, click SQL View.
 * 3) Make the case changes to the parameter.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce the Behavior
CAUTION: If you follow the steps in this example, you modify the sample Access project NorthwindCS.adp. You may want to back up the NorthwindCS.adp file and follow these steps on a copy of the project.

 Start Access. Open the sample project NorthwindCS.adp Click Queries under Objects, and then open the Employee Sales By Country stored procedure in Design view. Type the following value in the design grid in the Criteria column for the Country field:

=@COUNTRY

 Change the Criteria column value for the Country field to the following case: =@Country.</li> Save the stored procedure by clicking Save on the Stored Procedure Design toolbar.

Note that you receive the error message that is mentioned in the &quot;Symptoms&quot; section of this article.</li></ol>

Additional query words: pra crash ipf

Keywords: kberrmsg kbbug kbpending KB295209

-

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

© Microsoft Corporation. All rights reserved.