Can't use CFGRIDUPDATE? Try this...

CFGRIDUPDATE is a great tag. Unfortunately I've never used it. It always seems like my grids are always too complex or I need to do something conditionally during the update. Fortunately there is an easy way to successfully use an editable grid and update your database accordingly. Unfortunately, the latest version of Macromedia's livedocs doesn't show you an example (for those on the slightly less advanced level of coding who need examples). Fortunately, the livedocs for CF5 does show you an example. Rather than reprint their example, I'll just link to the cfgrid version 5 documentation. Doing the update yourself is not that bad. As I stated above it allows you to perform complex and/or conditional updates (into multiple tables if necessary) and also allows you to do other things while looping over the grid (such as kick off an email if a certain deletion or update occurs).

Comments

cfunited08

cfunited08

Calendar

Sun Mon Tue Wed Thu Fri Sat
    123
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex misc model-glue off topic personal project learn sql

Recent Comments

Hosting Advice Needed
todd sharp said: Must have been on a box that I'm not on. Thank goodness too, because all of my sites (this blog, cf... [More]

Hosting Advice Needed
Oğuz Demirkapı said: No. And the tickets are still open in support system. :) I think they had a big outage and still ... [More]

Hosting Advice Needed
todd sharp said: Did they say what caused such a long outage? [More]

Hosting Advice Needed
Oğuz Demirkapı said: VPS is back after 13 hours. :) [More]

Hosting Advice Needed
Oğuz Demirkapı said: 12 hours now since the server is down. :( [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com