Here is the error:

You have attempted to dereference a scalar variable of type class
java.lang.String as a structure with members.


The error occurred in c:\tessite\gridTestUpdate.cfm: line 8

6 :
7 : <cfoutput>
8 : <cfloop index="var" from="1" to="4">
9 : #gridTest.cust_code[var]#
10 : </cfloop>


Here is the code:
<cfform ACTION="/gridTestUpdate.cfm" METHOD="POST">
<cfgrid name="gridTest" query="customer" width="600" height="400"
selectmode="edit">
<cfgridcolumn name = "cust_code" header = "Customer Code" select="no"
type="numeric" href="/index.cfm" hrefkey="cust_code">
<cfgridcolumn name = "bus_name" header = "Name" select="no">
<cfgridcolumn name = "cust_stat" header = "Status" values =
"#cust_stat_list#" valuesDisplay = " ,#cust_stat_list#">
<cfgridcolumn name = "territory" header = "Territory" values =
"#tech_code_list#" valuesDisplay = " ,#tech_code_list#">
</cfgrid>
<INPUT TYPE="Submit" NAME="submit" VALUE="Apply Changes">
<INPUT type="hidden" NAME="gridEntered" VALUE="yes">
</cfform>

Anyone have any ideas to why I cannot access anything in the CFGRID. I had the
same kind of problems also when trying to use gridTest.RowStatus.Action.
thanks
Jake