BUG: No Error Produced when Data Changed in DataControl (119244)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q119244 SYMPTOMS
This article describes a scenario where two or more Visual Basic
applications using the Microsoft Jet 2.0/Visual Basic 3.0 Compatibility
Layer to edit and update the same record at the same time fail to produce
error message 3197: "Data has changed; operation stopped."
STATUS
Microsoft has confirmed this to be a bug in the Standard and Professional
Editions of Visual Basic for Windows, version 3.0, and the Jet 2.0/Visual
Basic 3.0 Compatibility Layer. We are researching this problem and will
post new information here in the Microsoft Knowledge Base as it becomes
available.
WORKAROUND
To work around this problem, add the following lines of code to your
Form_Load Event().
Data1.Refresh 'Make sure the DatabaseName and RecordSource
'properties are set before you do this.
Data1.RecordSet.Edit
Data1.RecordSet.Update
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kbbug KB119244 |
---|
|