all groups > coldfusion flash integration > november 2005 >
You're in the

coldfusion flash integration

group:

I need a View, Insert, Update, Delete paradigm for using flash forms


I need a View, Insert, Update, Delete paradigm for using flash forms KJ Klosson
11/5/2005 12:00:00 AM
coldfusion flash integration:
Flash forms are the greatest. But I'm struggling with a usable paradigm for
handling all database functions with them. Most notably, since I can't add a
"Delete" link into the grid (as I could in a table layout), I need a way to
allow the user to select a record from the grid and then choose to edit or
delete the record. I can handle Insert and Edit okay, but how to process a
delete is stumping me. In my case, deleting using the "Delete" attribute of
the cfgrid is not a good solution. Any advice or discusion would be helpful to
me.

Thanks
Re: I need a View, Insert, Update, Delete paradigm for using flash forms aparsons
11/6/2005 8:02:32 AM
This would be simple. Have the user info load into your edit window. Then,
have a delete button and call an Action Script function using "onClick()".

Within the actionscript, you can pass the userID (or recordID) to a CFC and
delete the record, then force a reload on the grid. You can find plenty of
examples at asfusion.com. If you need any help, just let me know.

-ap
Re: I need a View, Insert, Update, Delete paradigm for using flash forms KJ Klosson
11/6/2005 12:28:26 PM
Thanks Allan, I'm glad to know it will be that easy but I know zero about
ActionScript. I looked over at ASFusion for some help but couldn't find what I
needed. I'm sure I'll get a book on Action Script and learn what I need to
know. I can handle the CFC but I could use help with the ActionScript. If
it's just a few lines, I would appreciate the help.

Thanks.
AddThis Social Bookmark Button