General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Determine Key Field for View
I am trying to dynamically create a DBC and add a view for each of the tables that are found in a SQLServer database. Everything seems to be working find using the SQLTables() and SQLColumns() functions. I just have one problem, how do I determine what they key field is programmatically. The view designer can figure it out, so there should be a way to do it thru code.... right?
Any help would be greatly appreciated.
Scott
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only