On Wed, 9 Feb 2005 12:03:46 -0500, Yexley Robert D Contr AFRL/PROE <[EMAIL PROTECTED]> wrote: > 1) Does anyone know where I can find some *good* documentation, or maybe even > a good book, that covers CFC concepts?
The CFMX 7 documentation contains a lot of new stuff so you might look in there. There's a lot of CFC stuff on the Macromedia Developer Center. Otherwise the Mach II Development Guide has some good basic OO stuff (as well as Mach II stuff): http://livedocs.macromedia.com/wtg/public/machiidevguide/ Expect to see a couple of books on OO for CFers come out this year... > So at this point, I want to create my third function, called > UnlockUserRecords, and I want to call these other two functions from within > in, and I'm not exactly sure how to go about doing that. Here's what I have > so far, but I'm fairly certain that it won't work as I have it now. Why are you fairly certain it won't work? Michael Dawson correctly pointed out that you need to 'var' declare your variables and then there's another curiosity here: > <cfset lockedRecords = > GetUsersLockedRecords(arguments.username) /> > <cfif lockedRecords.RecordCount gt 0> You don't need that - you can just loop over the query anyway. > <cfloop query="lockedRecords"> > UnlockFile(lockedFiles.username, > lockedFiles.project_folder, lockedFiles.project_file) You mean lockedRecords.xxx instead of lockedFiles.xxx don't you? > </cfloop> > </cfif> -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:193988 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

