Re: create a new table (ADO)
From: Andrew (abaylis_nos_at_spamcop.net)
Date: 01/26/05
- Previous message: Mike Shkolnik: "Re: create a new table (ADO)"
- In reply to: Mike Shkolnik: "Re: create a new table (ADO)"
- Next in thread: Mike Shkolnik: "Re: create a new table (ADO)"
- Reply: Mike Shkolnik: "Re: create a new table (ADO)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Jan 2005 17:37:07 +1100
"Mike Shkolnik" <mshkolnik2002@ukr.net> wrote in message
news:41f72ff5@newsgroups.borland.com...
>> i) If you generate a table via field definitions and then hope to be able
> to
>> create it in the underlying database, aren't you doing exactly what ADOX
> is
>> there for?
> As I remember, the ADOX is not installed with old ADO/MS Jet
> Or do you want to say that any ADO setup includes the ADOX.Catalog?
>
>> iii) If you really want to move out of ADO, you could use the DAO objects
> I don't want to move from ADO. I want to use the pure ADO, not
> ADOX.Catalog
> or any database DDL (like CREATE TABLE)
> In DAO I can create a table using
> CreateTableDef+CreateField+TableDefs.Append. I need the analogue for ADO
> --
Mike,
According to Microsoft, all versions of the MDAC release have included ADOX.
As ADO and ADOX are installed as part of the operating system from Windows
ME upwards, it would seem sensible to use the Catalog object form ADOX to do
what you want.
As you have found, ADO does not have any routines for the creation /
modification of underlying database objects - that's what ADOX is for.
Cheers,
Andrew
- Previous message: Mike Shkolnik: "Re: create a new table (ADO)"
- In reply to: Mike Shkolnik: "Re: create a new table (ADO)"
- Next in thread: Mike Shkolnik: "Re: create a new table (ADO)"
- Reply: Mike Shkolnik: "Re: create a new table (ADO)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|