Is there an easy way to get and show all the contents of a database's tables?
What I've got is a new db structure that has about a hundred tables in it and what I want to do is have a page that shows just the table names and when the name is clicked on it will show the contents of that particular table. I can show the contents just fine I learned that from w3schools. I just need to know how to show the names of the tables first and have them linked to the page that shows the data.
set rs = conn.Execute("SELECT * FROM testTable")
For Each fld In rs.Fields
response.write fld.Name
response.write " = "
response.write fld.Value
response.write "<br />"
rs.MoveNext
Next
rs.Close
Something like that should work...
__________________
Former ASP Forum Moderator - I'm back!
If you can teach yourself how to learn, you can learn anything. ;)