LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Long error handling section, safe to break out?

Hello;

Following the basic error handling on this page
http://support.microsoft.com/kb/168336, many of my functions therefore have
quite long error handling sections, compared to their actual function of opening
a database connection and perhaps calling a stored procedure.

How 'safe' is it to put some of the ADODB error handling into another function?
If I am already inside an error, should I really be calling other functions?

Follow - does it make a difference to the function that there is a final "GoTo
Done", instead of a "Resume Done" ? Is there any effective difference between
the two?

Many thanks
sdg

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a section break in Excel Lee Excel Worksheet Functions 1 June 17th 08 09:41 AM
Limit long text to right footer section LauriS Excel Discussion (Misc queries) 4 December 11th 07 03:01 PM
Add a Section Break Feature. Bowser Excel Discussion (Misc queries) 1 May 26th 06 12:42 PM
Error handling with a handling routine ben Excel Programming 0 March 15th 05 03:01 PM
SECTION BREAK Pam Coleman Excel Discussion (Misc queries) 1 February 3rd 05 05:14 PM


All times are GMT +1. The time now is 12:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"