Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / November 2007

Tip: Looking for answers? Try searching our database.

Change error message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gsnidow - 27 Nov 2007 18:44 GMT
Greetings folks.  I have made a form's allowadditions property = false.  I
have made navigation buttons also.  Is there a way I can change the message
from 'You can't go to the specified record' when the user is on the last
record and they hit the next button, or when they are on the first record and
they hit the previous button?  I think the messages may be confussing for
some users.  I would rather have it say something like 'No more records'.
Thanks
Klatuu - 27 Nov 2007 19:12 GMT
You would have to trap for the specific error number in the click event of
the navigation buttons and present your own message using an error handler.

A better solution is to programmatically disable the buttons when they are
at the end or beginning of the recordset.
Signature

Dave Hargis, Microsoft Access MVP

> Greetings folks.  I have made a form's allowadditions property = false.  I
> have made navigation buttons also.  Is there a way I can change the message
[quoted text clipped - 3 lines]
> some users.  I would rather have it say something like 'No more records'.
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.