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 

LOCATE method exception with ADOTable

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Ken Hartnett
Guest





PostPosted: Tue Jul 13, 2004 6:59 pm    Post subject: LOCATE method exception with ADOTable Reply with quote



Delphi 6 Ent. Whenever a LOCATE on an ADO table returns False (record
not found), I get a runtime error dialog that tells the user that gives
the table name and tells the user that the record wasn't found. How do I
suppress the error message? Is this normal for TADOTable.Locate?

Thank you.

Back to top
Ken Hartnett
Guest





PostPosted: Thu Jul 15, 2004 11:42 am    Post subject: Re: LOCATE method exception with ADOTable Reply with quote



Thank you, Brian.
No, I don't have any code that implements an error dialog. That is the
strange part. But there are a number of strange things going on relative
to ADO. I am using XP Pro, and Delphi often behave very strangely. Since
this is my first time using ADO I wasn't sure if there are some "hidden"
behaviors. Thanks again for the reponse.

jkh

Brian Bushay TeamB wrote:
Quote:
Delphi 6 Ent. Whenever a LOCATE on an ADO table returns False (record
not found), I get a runtime error dialog that tells the user that gives
the table name and tells the user that the record wasn't found. How do I
suppress the error message? Is this normal for TADOTable.Locate?

That isn't normal. You must have some custom code that is implementing that
error
--
Brian Bushay (TeamB)
[email]Bbushay (AT) NMPLS (DOT) com[/email]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) 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.