Automation error (Error 440) 
Author Message
 Automation error (Error 440)

Hello!

When I add a record to my database and then open a nother form to edit the
record I cet the foloing error when try to update..

Automation error (Error 440)

"Cant find the records, som data can have bean change."
(or somthing like that)

Her's the code at the Save button...:

    If Me.Forandring = True Then
    Svar = MsgBox("?nsker du ? lagre forandrenger...?", vbQuestion +
vbYesNo, "Lagre...")
        Select Case Svar
            Case vbYes
                mod_Databaser.Tabel_Faktura!Sum = CCur(Me.txtAntall *
Me.txtPris)
                mod_Databaser.Tabel_Faktura!Sum =
CCur(mod_Databaser.Tabel_Faktura!Sum - (mod_Databaser.Tabel_Faktura!Sum *
Me.txtRabatt) / 100)

                mod_Databaser.Tabel_Faktura.Update    ' Error.. <-----
Me.Forandring = False
                Unload Me
            Case vbNo
                Me.Forandring = False
                mod_Databaser.Tabel_Faktura.CancelUpdate
        End Select
    End If
    Unload Me

Somebody that has having this problem before....?

From
Svein J. Reiakvam



Sat, 04 May 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Compilation error: Automation Error (Error 440)

2. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

3. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

4. Automation error (Error 440)

5. Automation Error, Error 440 !!

6. Automation Error Error 440

7. Help: error 440 automation error

8. Error 440, Automation Error

9. Error 440, Automation Error

10. Need some help to trace Automation Error (error 440)?

11. Can't compile my source now!! Getting Automation error (Error 440)

12. Can't compile my source now!! Getting Automation error (Error 440)

 

 
Powered by phpBB® Forum Software