There is a known bug, with the editable grid in an html form.  Make the
whole form a flash form, instead of just the grid. 

Hth,
---nimer


-----Original Message-----
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 19, 2005 12:40 PM
To: CF-Talk
Subject: CFGRID woes

I'm messing with this cfgrid tag and have it kind of working. But when you
click update, it doesn't update anything. Wondering if it has something to
do with the primary key not being sent through or something. Any ideas?


<cfquery name="getmyevents" datasource="#DSN#"> SELECT * FROM dbo.tblevents
</cfquery>

<cfif IsDefined("form.gridEntered")>
        <cfgridupdate grid = "myevent" dataSource = "#DSN#" 
        tableName = "tblevents" keyonly="True"> </cfif>


<cfform action="#CGI.SCRIPT_NAME#">

<cfgrid name="myevent" format="flash" height="600" query="getmyevents"
 font="Verdana, Arial, Helvetica, sans-serif" fontsize="10" width="800"
selectmode="edit"
 insertButton = "Insert a Row" deleteButton = "Delete selected row"
delete="yes" insert="yes">
                </cfgrid>
<cfinput type="submit" name="gridEntered" value="Update record">

</cfform> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195573
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to