Detecting and acting on End of Table

J

JHB

Hi:

I have an Access macro that moves down one record through a table when
the user presses enter.

My problem is that when the last record in the table is reached, and
the user presses enter, the macro tries to move to another record and
the result is an error condition. I would like some guidance in how to
dectect that one is in the last record of a table (or that the table
has no more records). Preferably using Access Macro language (which is
what I have used) but any way to do it within program control would
be appreciated.

Thanks in advance

John Baker
 
J

JHB

I should have indicated that I am using Access 2000, which may have
some influence on your response.
 

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