Is it possible to get the values of MS Access Field Properties using GetSchema? I am able to get the table list and the list of columns for a table using the following code snippets:
Dim MasterTableList As DataTable = Nothing
Dim TableRestrictions(3) As String
TableRestrictions(3) = "Table"
MasterTableList = MasterConnection.GetSchema("Tables", TableRestrictions)
and
Dim MasterColumnList As DataTable = Nothing
Dim ColumnRestrictions(3) As String
ColumnRestrictions(0) = Nothing
ColumnRestrictions(1) = Nothing
ColumnRestrictions(2) = "TheTableName"
ColumnRestrictions(3) = Nothing
MasterColumnList = MasterConnection.GetSchema("Columns", ColumnRestrictions)
But I would like to be able to get the values for each columns Field Properties such as Format, Default Value, Required, Allow Zero Length, etc.
Can that be done and if so what are the values for the 1st parameter to the call to GetSchema and what are the values required for the restrication parameter?
I am trying to put together an application to compare the schema of 2 databases to see if they are the same.
thanks
Frank
"40"
MasterTableList = MasterConnection.GetSchema(
"Tables", TableRestrictions)