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 

Deleting records with ADO

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
James Peterson
Guest





PostPosted: Wed May 12, 2004 2:06 pm    Post subject: Deleting records with ADO Reply with quote



I am using ADOQuery to delete select records from a database. but for some
reason its not letting me delete. Can some one explain to me why? My code is
as follows:

ADOQuery1->SQL->Clear();
ADOQuery1->SQL->Add("Delete from Specsheet where ItemNumber =
'"+ComboBox1->Text+"%'");
ADOQuery1->Prepared = true;
ADOQuery1->ExecSQL();


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed May 12, 2004 5:53 pm    Post subject: Re: Deleting records with ADO Reply with quote




"James Peterson" <jpeterson (AT) romanmealmilling (DOT) com> wrote

Quote:
I am using ADOQuery to delete select records from a database.
but for some reason its not letting me delete. Can some one
explain to me why?

This is not a component writting issue. You should post in one of the
database groups instead.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) 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.