ACC2000: Access Hangs When Mixing DDL and ADO Transaction Methods (202396)
The information in this article applies to:
This article was previously published under Q202396 Advanced: Requires expert coding, interoperability, and multiuser skills.
SYMPTOMS
When you mix ActiveX Data Objects (ADO) transaction methods with Microsoft Jet 4.0 Data Definition Language (DDL) transaction statements, Microsoft Access and/or the Visual Basic Editor may stop responding (hang).
RESOLUTION
To avoid this problem, do not mix ADO transaction methods with Jet DDL transaction statements. They should all be one or the other. For an example, see the "Steps to Reproduce Behavior" section later in this article.
If Access and/or the Visual Basic Editor stops responding, follow these steps:
- Press CTRL+ALT+DEL to open the Close Program dialog box.
- Select either Microsoft Access or the Visual Basic Editor.
NOTE: If the problem code is started from the Visual Basic Editor, the Close Program dialog box shows Visual Basic [Running] instead of listing Access. If you start the problem code from within Access, such as from a form or a macro, the Close Program dialog box shows Microsoft Access [Not Responding]. - Click End Task.
- If another dialog box appears with the title Microsoft Access [Not Responding], click End Task on that as well.
Access and/or the Visual Basic Editor will then close.
REFERENCESFor more information about using ADO transaction methods, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Connection property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
For more information about using Jet 4.0 DDL transaction statements, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type Data Definition Language in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | kbbug kbpending KB202396 |
---|
|