Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error message...runtime error 2489

Status
Not open for further replies.

adsfx

Programmer
Jun 4, 2003
237
GB
why do i get the error message-
"runtime error 2489...object 3 isnt open"

when using this code-
DoCmd.GoToRecord , acLast

Mrk
 
You need to check that the form you are trying to move to the last record in is open at the point that you call the code.

You could do this by stepping through the code or put a break point in at come point before the error occurs.

Regards

Craig
 
needed an extra comma after gotorecord
thanx for your help craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top