Link to home
Start Free TrialLog in
Avatar of esphelpdesk
esphelpdesk

asked on

cfgridupdate could not find the grid named

Ok.. this is the first time I have tried using the cfgrid command and I am  getting insane errors.  I googled the error and found millions of posts on this with not one solid answer.

Two pages of code exist for this problem:
____________________________________________________

<cfquery name="empdata" datasource="pess">
      SELECT * FROM tbl_project
</cfquery>

<cfform  action="reports/contractsupdate.cfm" >
      <cfgrid name="contractgrid" query="empdata"
                   width="500" insert="yes" delete="yes" height="800" enabled="yes"
                  autoWidth = "yes"
                   insertButton = "Insert a New Contract"   deleteButton = "Delete Contract" selectmode="edit" >
                        
            <cfgridcolumn name="contractnumber">
            <cfgridcolumn name="projectname">
      </cfgrid>
      <br>
      <input  type="Submit" value="Submit Changes to be Saved">
</cfform>

____________________________________________________
<cfgridupdate grid="contractgrid"
datasource="pess"
keyonly="yes"
tablename="tbl_project"><span style="classmainfont">
The contracts table has been updated.  


<input type=button value=" Close Window " onClick="javascript:window.close();"></span>
_______________________________________________________

THE TABLE

projectid int (indexed key field)
contactnumber varchar 100
projectname varchar 100
dateofinsert  datetime (date stamp)

__________________________________________________________
THE ERROR
 cfgridupdate could not find the grid named contractgrid.


________________________________________________________________

Any ideas?  Or does this tag have a bug in it?
ASKER CERTIFIED SOLUTION
Avatar of dgrafx
dgrafx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
did you add a selectmode="edit" to your cfgrid tag?
Avatar of esphelpdesk
esphelpdesk

ASKER

did you add a selectmode="edit" to your cfgrid tag?

_________________________ yes... it is in the above code...
The tag has a bug in it.  Adobe needs to fix with version 8.0