I'm trying to do a simple query on a SQL server with CF. No matter what variable I do it says that that variable does not exsist. My code is:
<cfquery name="testing" datasource="vizeon" dbtype="ODBC" username="administrator" password="<password>">
SELECT *
from products
</cfquery>
<cfoutput>#products.CatID#</cfoutput>
Everything works fine until the CFOUTPUT. It doesn't recognize any of the table columns from the table "products". Am I doing something wrong?
<cfquery name="testing" datasource="vizeon" dbtype="ODBC" username="administrator" password="<password>">
SELECT *
from products
</cfquery>
<cfoutput>#products.CatID#</cfoutput>
Everything works fine until the CFOUTPUT. It doesn't recognize any of the table columns from the table "products". Am I doing something wrong?