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 / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

Is there a way to create your own error message?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert - 20 Jul 2007 19:20 GMT
What I want to do is set up action buttons using my own warning message. EX .
Please verify that you have moved file before deleting"  instead of "
relationships that specify cascading deletes are about to cause 1 record(s)
in this table and in related tables to be deleted" .
Maury Markowitz - 20 Jul 2007 21:56 GMT
> What I want to do is set up action buttons using my own warning message. EX .
> Please verify that you have moved file before deleting"  instead of "
> relationships that specify cascading deletes are about to cause 1 record(s)
> in this table and in related tables to be deleted" .

Well if these are going to be flowing through a button, is there any reason
not to use "MsgBox"?

IIRC the values in the err object, which holds data about the "current
error", are read-only. You can clear the error, but I don't believe you can
poke data into it or anything like that.

Maury
Larry Daugherty - 21 Jul 2007 01:48 GMT
Look in Help for msgbox

HTH
Signature

-Larry-
--

> What I want to do is set up action buttons using my own warning message. EX .
> Please verify that you have moved file before deleting"  instead of "
> relationships that specify cascading deletes are about to cause 1 record(s)
> in this table and in related tables to be deleted" .
 
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



©2009 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.