BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

suppress I/O Error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
John Luetich
Guest





PostPosted: Thu Mar 02, 2006 6:03 pm    Post subject: suppress I/O Error Reply with quote



How would I suppress and I/O error message (103) dialog box in an IF
statement?

In other words, if I get the error, I want to open another file.

Thanks
John
Back to top
Bill Todd
Guest





PostPosted: Thu Mar 02, 2006 6:03 pm    Post subject: Re: suppress I/O Error Reply with quote



John Luetich wrote:

Quote:
How would I suppress and I/O error message (103) dialog box in an IF
statement?

In other words, if I get the error, I want to open another file.

Thanks
John

Place the statement that causes the error in a try/except block. See
the I/O Errors topic in the on-line help for additional information.

--
Bill Todd (TeamB)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.