Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Posts
    3

    Red face Unanswered: 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.

  2. #2
    Join Date
    Mar 2007
    Posts
    2

    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

  3. #3
    Join Date
    Sep 2008
    Posts
    3

    Thumbs down i want the source code

    i am trying 2 solve this pblm using real delphi source code.

  4. #4
    Join Date
    Dec 2008
    Posts
    8
    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

  5. #5
    Join Date
    Oct 2010
    Posts
    1

    Hello!

    Quote Originally Posted by nowshadcv View Post
    i am trying 2 solve this pblm using real delphi source code.
    is there a way to backup what you delete?

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •