error 2455 help pls!

T

troubleD

i got a database that is being opened in Acc 2000 and Acc 2003. sometimes
when i made revisions on my code, this error shows and it points it to
txtUser.SetFocus

ERR:
Run-time error '2455': you entered an expression that has an invalid
reference to the property CommitOnClose.


Dim strUserName As String

strUserName = getUserValue(dhGetUserName)

txtUser.SetFocus <--- error
txtUser.value = ""
txtUser.value = strUserName


----

I have not seen this error before but now, it shows everytime i have
modified something in the forms, but not the code of this form... which is
weird..

please help me about this one.. thank you so much!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top