Hi ALL

I am a beginner in this..
I found the easiest to trap an error is just create a message box

ErrTrap:
MsgBox "Error trying to update the current record: " & Err.Description, vbCritical + vbOKOnly, App.Title

Now I want it to write this error to a file also ..
Could some one help me create a simple function that will write the message to an error.txt

it could be as primitive and simple ..

please help

thank you