Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ADOX to find column properties
Message
De
14/09/2001 13:50:06
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Using ADOX to find column properties
Divers
Thread ID:
00556648
Message ID:
00556648
Vues:
49
Hi

I am trying to use adox to find properties of columns in an access database. The specific information I am looking for is Validation Rule and Description. I am able to get the name, type and defined size ok but the Validation Rule and Description always = "" even though I know that information exists. The following is a snippet of code:

For Each oColumn In oTable.Columns

cName = oColumn.Name
cDescription = oColumn.Properties.Item("Description").Value
cValidRule = oColumn.Properties.Item("Jet OLEDB:Column Validation Rule").Value

Next oColumn

Does anyone have a suggestion how I need to change the code?

Thanks
Nichole
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform