What do you need to do with the structure that your insertNewsSubscriptions method returns?
Basically, I would just like some confirmation that it has been inserted. I have used a struct to return both an instert status (success or failure) and the new recordID for other set methods. Since this is a linking table, I suppose I don't really need to return a struct. Any suggestions? Thanks, Aaron P.S. James, I subscribed to CFDJ but I have not received a single email newsletter as of yet. Thanks for the link... I am going to follow up on why my subscriptions are not arriving! On 2/14/06, Deanna Schneider <[EMAIL PROTECTED]> wrote: > I've learned from years in the trenches. I'm by no means an expert. (My > degree is Art History and African Cultural Studies - if that tells you > anything.) Read CF-Talk, CFDJ, various blogs. Learn by doing. Pick up some > books when you need to. It'll come. > > What do you need to do with the structure that your insertNewsSubscriptions > method returns? > > On 2/13/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > > > > One more thing... > > > > My insertNewsSubscriptions method returns a structure. If I > > instantiate the method within the user method, how do I return the > > struct and should I add the results to the struct that the user method > > returns? > > > > -Aaron > > > > > > > > > > Thank you very much. Wether or not I invoke or instantiate, am I > > > > correct in assuming that I should pass the userID to the newsmanager > > > > after inserting the user into the users table? Otherwise, the db may > > > > not let me insert the userID in the linking table without a > > > > corresponding userID in the users table. > > > > > > > > Another thing: In this scenario, should I instantiate an object of the > > > > newsmanager component? I have been reading in my Java book that there > > > > is a difference between a method class and a method instance. A method > > > > class, as you probably know, is not an instance. Does this apply to > > > > CFC's in CFML? > > > > > > > > Thanks again, > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232197 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

