"Name redefined" means that it has been dimmed more than once.

There is simpler coding than Dreamweaver methods for accessing database records:

SQL = "SELECT * FROM Products Where Products.ID = " & strProductID & " Order by Products.ID"
	Set rsSet = dbConnection.Execute(SQL)	
	if NOT rsSet.EOF then
		strTitle = rsSet("SiteName").value
		strCompany = rsSet("Company").value
		strAddress = rsSet("Address").value
		strContact = rsSet("Contact").value
		strPhone = rsSet("Phone").value
	end if
	Set rsSet = Nothing

Edited by Ezzaral: Added code tags. Please use them to format all code that you post.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.