Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > how i delete record from sqlserver database in delphi?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-09-08, 08:36
nowshadcv nowshadcv is offline
Registered User
 
Join Date: Sep 2008
Posts: 5
Red face how i delete record from sqlserver database in delphi?

Frineds plz help me.......i am doing database manipulation(insert,update,delete etc) in sqlserver.My front end is Delphi.I have a delete button in my form.My aim is to delete record from database.How i will do?If anyone knows the source code(try to write code using SQLOLEDB) plz give me .

Last edited by nowshadcv : 09-09-08 at 08:58.
Reply With Quote
  #2 (permalink)  
Old 10-09-08, 02:20
kalsig kalsig is offline
Registered User
 
Join Date: Mar 2007
Posts: 1
how i delete record from sqlserver database in delphi?

Try the following site from where you can download third party components in Delphi and use the data access components like database navigation buttons to move through records, add, edit or delete records of your SQL tables.

http://www.devart.com/sdac/download.html
Reply With Quote
  #3 (permalink)  
Old 10-10-08, 10:32
nowshadcv nowshadcv is offline
Registered User
 
Join Date: Sep 2008
Posts: 5
Thumbs down i want the source code

i am trying 2 solve this pblm using real delphi source code.
Reply With Quote
  #4 (permalink)  
Old 01-02-09, 14:51
jkuiper jkuiper is offline
Registered User
 
Join Date: Dec 2008
Posts: 9
If you use ADOQuery to SQLServer and you have an datalink on it, just use ADOQuery.delete to delete the record.
Otherwise create a SQL in your query-componment and use ExecSQL to execute your SQL
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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