Web Development
2 replies
by shanghai sam
by Lamont Adams
ADO has to know this information in order to be able to perform disconnected updates, the question is whether you can get at it or not.
I'd try using the OpenSchema method of your connection and pass the adSchemaColumns constant into it along with a variant array containing the name of a catalog, schema and table.
OpenSchema returns a recordset representing properties of whatever object you specify. In your case, each column in your table would be a record in the recordset. One of the fields in the returned recordset should hold the default value for column represented by that record.
Here's a KB article with some more information: http://support.microsoft.com/support/kb/articles/Q186/2/46.ASP
Hope that helps, and thanks for using TechRepublic!
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending