[AccessD] Hyperlink and click event

Jim DeMarco Jdemarco at hshhp.org
Fri Jun 6 07:43:46 CDT 2003


Can you add code to check for the file in the click event before any other code runs and leave the event if it's not there (or show a message)?

HTH, 

Jim DeMarco 
Director of Product Development 
HealthSource/Hudson Health Plan 

-----Original Message-----
From: Barbara Ryan [mailto:BarbaraRyan at cox.net]
Sent: Friday, June 06, 2003 8:30 AM
To: Access List
Subject: [AccessD] Hyperlink and click event


I am trying to intercept an error ("...specified file not found...") when clicking on a hyperlink control in an Access 97 form.  My error handling code is in the control's CLICK event, but the error is apparently occuring sometime after the CLICK event. 
 
Where should I put my error handling routine?  The hyperlink control is bound to a hyperlink field in a table.  I deleted the file that the hyperlink points to force this error so I could use a more descriptive error message.
 
Thanks,
Barb Ryan



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030606/0138a793/attachment-0001.html>


More information about the AccessD mailing list