I am using the following code to list the fields in a database table. What I need to do though is know which ones are the 'key' fields. Can anyone help?
Thanks very much. Nathan
set conntemp=server.createobject("adodb.connection")
conntemp.open strCon
set rsTable=conntemp.execute(SQLStr)
for each FieldName in rsTable.fields
response.write FieldName.Name
next
rsTable.close
set rsTable=nothing
conntemp.close
set conntemp=nothing
Thanks very much. Nathan
set conntemp=server.createobject("adodb.connection")
conntemp.open strCon
set rsTable=conntemp.execute(SQLStr)
for each FieldName in rsTable.fields
response.write FieldName.Name
next
rsTable.close
set rsTable=nothing
conntemp.close
set conntemp=nothing