Board index » delphi » Tables in an .mdb file

Tables in an .mdb file

Hi all,

I'd like to know how can i get the names of all tables inside an Access database. I think that i cannot get it through a TADOConnection object.

Many thanks

---------------------
JAM - Reljate y disfruta

 

Re:Tables in an .mdb file


Hi.

ADOConnection1.GetTableNames(ListBox1.Items, False);

This will return your list of  tables.

M.S

U?ytkownik Jess Avils Martnez <jamj...@PEICHjazzfree.com> w wiadomo?ci do
grup dyskusyjnych napisa3:3d368c5f$1_1@dnews...

Quote

> Hi all,

> I'd like to know how can i get the names of all tables inside an Access

database. I think that i cannot get it through a TADOConnection object.
Quote

> Many thanks

> ---------------------
> JAM - Reljate y disfruta

Re:Tables in an .mdb file


Quote
"MSF" <ma...@o2.pl> wrote:
>Hi.

>ADOConnection1.GetTableNames(ListBox1.Items, False);

>This will return your list of  tables.

>M.S

Many thanks for your help

---------------------
JAM - Reljate y disfruta

Re:Tables in an .mdb file


To get it through TAdoConnection object use the OpenSchema method.

--
Mike Collier BSc (Hons) - www.adoanywhere.com
ADO Object Browser and COM Server.
Consultancy and Design - ADO & Database Specialists.

"Jess Avils Martnez" <jamj...@PEICHjazzfree.com> wrote in message
news:3d368c5f$1_1@dnews...

Quote

> Hi all,

> I'd like to know how can i get the names of all tables inside an Access

database. I think that i cannot get it through a TADOConnection object.
Quote

> Many thanks

> ---------------------
> JAM - Reljate y disfruta

Re:Tables in an .mdb file


Quote
>I'd like to know how can i get the names of all tables inside an Access database. I think that i cannot get it through a TADOConnection object.

TadoConnection.GetTableNames
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads