Create mdb file with code



Hi,
I've seen many examples on how to create a new (empty) access database from
code. However the code is usually similar to below,
dbName:='c:\aboutdelphi.mdb';

DataSource :=
'Provider=Microsoft.Jet.OLEDB.4.0' +
';Data Source=' + dbName +
';Jet OLEDB:Engine Type=4';

ADOXCatalog1.Create1(DataSource);I'm using Delphi 2006 and cannot find any
reference to a TADOXCatalog that was in earlier versions of Delphi. 2
questions - 1) what happened to this class, and 2) if its gone how does
anyone have an example of what I'm trying to do?Thanks..


.



Relevant Pages

  • Re: Operator in SQL like "Like"
    ... I have an Access database with a table called "product". ... The SQL that Access gives me for the query I am trying ... All of the operators used in Microsoft Jet SQL ... So it may be that the Like operator for Access SQL cannot be used in Delphi. ...
    (microsoft.public.access.modulesdaovba)
  • ADO Deployment on old systems
    ... I need to write a application with Delphi 6 Professional that will read ... Access database to users individual home drives. ... users are unable to install any software to their ... a way to read/write to Access without the driver? ...
    (borland.public.delphi.database.ado)
  • Re: ADO Deployment on old systems
    ... > I need to write a application with Delphi 6 Professional that will read ... > Access database to users individual home drives. ... MDAC 2.0 is quite old, ... MSDE for small installations, so this may not be the latest). ...
    (borland.public.delphi.database.ado)
  • Word MailMerge from Paradox Data Source
    ... works because when the Word document opens it has lost its datasource. ... actual fact it hasn't because when I close the Delphi program down and open ... If for instance any lock files are left in the datasource folder (after ...
    (alt.comp.lang.borland-delphi)
  • Data Type Mismatch Access TADOQuery DateTime
    ... Im quite new to delphi and am experiencing the following problem. ... Im using a TADOQuery to retrieve a date from a Access database and then wish ... = '+inttostr+') as LVDate from ...
    (alt.comp.lang.borland-delphi)