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:195551
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