After Last Red

  • Thread starter Thread starter -z
  • Start date Start date
Z

-z

I use A2K

On a frm, I have a cmdBtn that goes to the next rec OnClick.

What is the vba needed to account for what happens when the last rec is
reached

Thank you
 
-z said:
I use A2K

On a frm, I have a cmdBtn that goes to the next rec OnClick.

What is the vba needed to account for what happens when the last rec is
reached

Thank you
if .EOF then
msgbox 'end of file'
.movelast
end if

HTH
Marc
 

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

Back
Top