Copilot
Your everyday AI companion
About 418,000 results
    Upvotes27Top Answeranswered May 27, 2010 at 6:02

    @mawg, i wrote an simple program for you to ilustrate how work with ADO and Delphi. this is an console application, but explains the basics.

    before you execute this code you must download and install the odbc connector from this location.

    You can impro...

    program ProjectMysqlADO;

    {$APPTYPE CONSOLE}

    uses
    ActiveX,
    DB,
    ADODB,
    SysUtils;

    const
    //the connection string
    StrConnection='Driver={MySQL ODBC 3.51 Driver};Server=%s;Database=%s;User=%s; Password=%s;Option=3;';


    var
    AdoConnection : TADOConnection;

    procedure SetupConnection(DataBase:String);//Open a connection
    Content Under CC-BY-SA license
    Was this helpful?
  1. Transaction Processing :: Chapter 15: Working with ADO :: Part III ...

  2. Working with ADO | Part III - Delphi Database-Oriented ... - Flylib

  3. Filtering, Searching/Finding and Sorting records in ADO ... - Blogger

  4. Some results have been removed