> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
>
> 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>
I meant to say you need a "method" attribute. POST | GET
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195560
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54