Visual Basic - Error 3426

Life is soft - evento anual de software empresarial
 
Vista:

Error 3426

Publicado por Xiorimar (1 intervención) el 06/12/2004 20:01:06
Necesito ayuda con el Error 3426, no encuentro descripciòn. Por favor si alguno de Uds puede ayudarme a solucionar el problema.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Error 3426

Publicado por Jesus (24 intervenciones) el 06/12/2004 20:05:32
BUG: 3426 and 3020 - Different Error Number With 16-bit/32-bit
Last reviewed: April 9, 1996
Article ID: Q149040
The information in this article applies to:
Standard, Professional, and Enterprise Editions of Microsoft Visual Basic, 16-bit and 32-bit, for Windows, version 4.0

SYMPTOMS
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

The 16-bit edition of Visual Basic version 4.0 for Windows returns the following error:

'3426' - The action was cancelled by an associated object

STATUS
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.


MORE INFORMATION

Steps To Reproduce Problem

Start the 32-bit edition of Visual Basic version 4.0 for Windows. Form1 is created by default.

Add a single text box and data control to the form.

Set the properties of the data control to the following:

DatabaseName: BIBLIO.MDB
RecordSource: Authors


Set the properties of the text box to the following:

DataSource: Data1
DataField: Au_ID


Add the following code to the Form_Click event of Form1:

Private Sub Form_Click()
Data1.Recordset.Update
End Sub


Press F5 or click Start on the Run menu to run the application. Change the text in the text box and click the form. With the 32-bit version of Visual Basic version 4.0 for Windows, error '3020' is raised. If these steps are repeated with the 16-bit version of Visual Basic version 4.0 for Windows, the error raised is '3426'.

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar