Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find the unique identifier

Status
Not open for further replies.
What type of database?

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
It is meant to be as generic as possible.
I have found i can do this using the record set properties so

<code>
for each f in rs.Fields
Response.Write("<td><b>" & f.Name & "</b>")
if f.Properties("KEYCOLUMN") then
response.write("*")
uidColumn = f.Name
tableName = f.Properties("BASETABLENAME")
'uidDataType =
end if
response.write("</td>")
next

</code>

}...the bane of my life!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top