If you are on CF 8 check this out:
http://www.anujgakhar.com/2008/03/18/crud-with-cfgrid-html-format/

Ben Forta has a tute on his blog on using cfgrid to do crud on the fly.



On Wed, Apr 9, 2008 at 2:38 PM, Ian Skinner <[EMAIL PROTECTED]> wrote:

> LSD 4Me wrote:
> > Is this possible with cfgridupdate? Is it possible with cfupdate?
> THANKS!
>
> I wouldn't think so.  "Update' means just that, change (i.e. update)
> existing data.  If you want to add data, then you need to do some type
> of insert.  I.E <cfinsert...> or write your own insert SQL in a
> <cfquery...> tag.  You may want to review the documentation concerning
> the <cfgrid...> tag and what it returns when complex actions, such as
> inserting new rows, occur.
>
> Here is a highlight.
>
>
>      Complex update data (SelectMode = Edit)
>
> The grid returns a large amount of data, to inform the action page of
> inserts, updates or deletes that the user made to the grid. In most
> cases, you can use the |cfgridupdate| tag to automatically gather the
> data from the form variables; the tag collects data, writes SQL calls,
> and updates the data source.
>
> If you cannot use |cfgridupdate| (if, for example, you must distribute
> the returned data to more than one data source), you must write code to
> read form variables. In this mode, ColdFusion creates the following
> array variables in the Form scope for each |cfgrid|:
> ....
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303059
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to