Condition for buttons in MS Access

C

Crystyanus

I'm sorry to bother you but I have a small problem. I have
created a set of navigation buttons in a MS Access form
and I want to set them so when I reach the first record it
will stop and disable de "preview" option without
displaying an error message. Also I want it to stop when
it reaches the last record and disable the "preview"
button without adding a blank record or displaying an
error message. Thank you.
 
L

Larry Linson

Crystyanus said:
I want it to stop when it reaches the last
record and disable the "preview" button
without adding a blank record or
displaying an error message.

Set the properties of the Form to not allow additions (which I think is what
you mean by "preview" option). The nav buttons themselves do not have events
(nor properties, IIRC) -- they are just a functionality of the Form itself.

Larry Linson
Microsoft Access MVP
 

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