 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ken Hartnett Guest
|
Posted: Tue Jul 13, 2004 6:59 pm Post subject: LOCATE method exception with ADOTable |
|
|
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
|
Posted: Thu Jul 15, 2004 11:42 am Post subject: Re: LOCATE method exception with ADOTable |
|
|
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 |
|
 |
|
|
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
|
|