Compile error

Ricky D

Well-Known Member
Licensed User
I'm getting an object reference not set to an instance of an object from this bit of code

Sub txtOwnerEdit_GotFocus
End Sub

txtOwnerEdit is a textbox

any ideas?

regards, Ricky
Last edited:


Active Member
Licensed User
I've just tried it here and it works...
have you checked the spelling on "txtOwnerEdit" ?