Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get colmn names of a table(dynamic)
Message
From
24/04/2002 08:01:36
 
 
To
24/04/2002 07:29:03
General information
Forum:
Visual Basic
Category:
Access
Miscellaneous
Thread ID:
00648557
Message ID:
00648579
Views:
18
If you use DAO to access MSAccess database, use:

Database.TableDefs([Index])

TableDefs is collection, containing all table structures. TableDefs([Index]) returns TableDef object, which contains Fields() and Indexes() collections, which you can use to obtain information about this objects.

Also see "TableDef Object" topic in MSDN.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform