Delphi - Database Connection


This is probably a really basic question, but I'm getting pretty annoyed with the help files and various tutorials on the Internet right now.

What do I need to do to start a Database application?  According to the help, I should have a components palette, but I do not.  I'm familiar with ADO connections (since I used it quite abit in ASP pages), but even example and tutorial that I've seen has assumed that you've already initiated the connection, or that you click on some buttons that do not appear to exist in my version.

I'm using Delphi 7, personal if it makes a difference.

Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't think the personal version comes with any database components, you would have to look for third party components to access databases

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SebastionAuthor Commented:
Damn, that's disappointing.

Thanks anyway though.  I know about the text files already, but this database is going to be quite large, and I don't plan on use text files as the source.
download an example from
  link:                Delphi - Database Connection

The example is about an Access-DataBase connected by ADO components


unit Unit1_Q_21789032;


  Windows, Messages, SysUtils, Variants, Classes, Graphics,
  Controls, Forms, Dialogs, Buttons, StdCtrls, ExtCtrls,
  DB, DBTables, Grids, DBGrids,DBCtrls, ADODB,
  ComCtrls, ToolWin;

  TForm1 = class(TForm)
      dsaLIST: TDataSource;
      gbxInsertEdit: TGroupBox;
      ADOQueryLIST: TADOQuery;
      ToolBar: TToolBar;
      DBNavigator: TDBNavigator;
      ADOConnection: TADOConnection;
      Panel1: TPanel;
      dbgNAMES: TDBGrid;
      DBMemoINFO: TDBMemo;
      DBMemoCOUNTRY: TDBMemo;
      procedure FormCreate(Sender: TObject);
    private{ Private declarations }
    public { Public declarations }

  Form1: TForm1;


{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
  FN:     TFileName;
  FN := ExtractFilePath(Application.ExeName) + 'FRIENDS.MDB';
  ConnStr := 'Data Source=' + FN + ';Provider=Microsoft.Jet.OLEDB.4.0';
  if FileExists(FN) then
    ADOConnection.ConnectionString := ConnStr;
    ADOQueryLIST.Connection := AdoConnection;
    ADOQueryLIST.Active := True;
    ADOQueryLIST.FieldByName('ID').Visible := False;
    ADOQueryLIST.FieldByName('INFO').Visible := False;
    ADOQueryLIST.FieldByName('COUNTRY').Visible := False;

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.