Re: Creating MSAccess database file from a source code.

From: EnergyWeb (rfermino_at_uol.com.br)
Date: 10/14/03


Date: Tue, 14 Oct 2003 15:41:32 -0300

THIS GIVING A MENSAGM OF MISTAKE:

SEQUENCE OF DISABLE CLASS

USE WINDOWS2000

"Mike Shkolnik" <mshkolnik2002@ukr.net> escreveu na mensagem
news:3f8a91a7@newsgroups.borland.com...
> > How can I to create physical *.mdb file from my source code like it does
> the
> > ODBC driver?
>
> var
> access: Variant;
> begin
> access := CreateOleObject('DAO.DBEngine.35');
> access.CreateDatabase('c:\aaa.mdb', ';LANGID=0x0409;CP=' +
> IntToStr(GetACP()) + ';COUNTRY=0', 0);
> access := UnAssigned;
> end;
>
> --
> With best regards, Mike Shkolnik
> EMail: mshkolnik@scalabium.com
> http://www.scalabium.com
>
>
>



Relevant Pages