Maybe A, B, C, D, and E should each be a CFC? And you could have another CFC (let's call it DAO) that grabs values from the database.
So A would would talk to DAO to get the values. A doesn't know anything about a database and DAO doesn't know anything about calculations. B would talk to A to get the result of its calculation. B wouldn't know how A is calculated and vice-versa. C would get values from B and A. Maybe C would remember its last value? Or maybe C would have to reference another CFC (let's call it TABLE) that holds the values calculated for each date. Finally, you'd have a CFC that ties everything together. It would create a dao object. Then it would create an a object and tell it to use the dao object you just created. Then it would create b object and tell it to use a, etc. If you want to use the table, you could create a table object and pass it to a, b, c, etc., and tell a, b, c, etc. to pass their values to table after they perform a calculation. I hope that makes sense. If I had more information I would be able to give you more concrete suggestions. Can you give us an example of one of the formulas? Maybe make up a formula that does simple calculations? Patrick -- Patrick McElhaney 704.560.9117 http://pmcelhaney.blogspot.com I still have 5 gmail invites. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at [EMAIL PROTECTED]
