BUG: 3426 and 3020 - Different Error Number With 16-bit/32- bitID: Q149040
|
If a Recordset.Update is issued without first issuing an AddNew or an Edit
method, Visual Basic 4.0 correctly raises an error, because the Update
method can only be invoked after an AddNew or an Edit method. However, the
error number raised by the 16-bit and 32-bit editions of Visual Basic
differs.
The 32-bit edition of Visual Basic version 4.0 for Windows returns the
following error:
'3020' - Update or CancelUpdate without AddNew or Edit
'3426' - The action was cancelled by an associated object
Microsoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
DatabaseName: BIBLIO.MDB
RecordSource: Authors
DataSource: Data1
DataField: Au_ID
Private Sub Form_Click()
Data1.Recordset.Update
End Sub
Additional query words: 4.00 vb4win vb4all buglist4.00
Keywords :
Version : 4.00 | 4.00
Platform : NT WINDOWS
Issue type :
Last Reviewed: June 8, 1999