error 2115, can i get around it?

gillbates21

Registered User.
Local time
Today, 14:09
Joined
Apr 8, 2006
Messages
15
I have a problem like thisone
I tried to setfocus to a textbox and then write there some value in an afterupdate event.
Although i got the error, the text in the textbox was correct.

Is there any possibility to get around that error?
(so it wouldn't be displayed, but the code would still be executed)

Thanks for some wise thoughts.

PS!
I don't want to bind any objects.
 
Use On Error Resume Next in your procedure.
 
It is unnecessary to set the focus to a control in order to set it to a value. Just try Me.YourControlName = 'TheNewValue' using your control name of course.
 

Users who are viewing this thread

Back
Top Bottom