Hello
I've updated recently an access database from Office 97 to office 2007. But somehow the events are broken now. Usually I could enter into a field how many kilometers I've driven with my car and after hitting the "save"-button, it would show me in another field how many money I've spent for it. The code is this:
My problem is, that just nothing happens. I tried to add a MsgBox in the beginning of the code but also nothing happened. So I guess there is a problem with the event handling; the code isn't compiled at all. Did the VB code to execute something change? Or what is wrong with this code? It worked always until I've updated...
Thanks a lot!
I've updated recently an access database from Office 97 to office 2007. But somehow the events are broken now. Usually I could enter into a field how many kilometers I've driven with my car and after hitting the "save"-button, it would show me in another field how many money I've spent for it. The code is this:
Code:
Private Sub Befehl12_Click()
On Error GoTo Err_Befehl12_Click
Me.Haben.Value = Me.Text14.Value * 0.6
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Me.Kombinationsfeld10.Requery
Exit_Befehl12_Click:
Exit Sub
Err_Befehl12_Click:
MsgBox Err.Description
Resume Exit_Befehl12_Click
End Sub
Thanks a lot!
Comment