Public Function ReadTableSchema (
TableName As String,
DBSchema As xf_DbSchema,
Optional LocalIDColumnName As String = "",
Optional AllowNoSQLMetaData As Boolean = False
) As Boolean
Read the table schema from the database. For an Access database, use DAO. For MSSQL linked tables, use specifically named MetaData views.
The DbSchema parent object
The name of the LocalID column (overrides the standard LocalId column name defined for table shadowing)
Dim b As Boolean
b = xf.DefaultSchema.TableSchema("tblSample").ReadTableSchema(TableName, DBSchema)
b = xf.DefaultSchema.TableSchema("tblSample").ReadTableSchema(TableName, DBSchema, LocalIDColumnName, AllowNoSQLMetaData)