Happy to help further if I can. I'm not quite sure what you mean by cloneing a row but with recalculation. Do you have a more explicit example?
Cheers, Judah On Tue, Sep 6, 2011 at 11:00 AM, Scott Stewart <[email protected]> wrote: > > Kinda, it's down the right path... > > On Tue, Sep 6, 2011 at 1:53 PM, Judah McAuley <[email protected]> wrote: >> >> I've used the DateJS library in the past for working with dates. >> >> http://www.datejs.com/ >> >> It's the best set of tools I've seen so far for saying things like >> Date.today().is().Friday() (returns a boolean for whether or not today >> is Friday). >> >> So I'd do something like looping over the days of the week, inserting >> a spacer if today is Friday, and keep going until the month in the >> counter is different than the month in today's date object. >> >> Is that the sort of thing you're looking for? >> >> Judah >> >> On Tue, Sep 6, 2011 at 9:11 AM, Scott Stewart <[email protected]> >> wrote: >>> >>> I have table rows with dates (IE: Sunday, January 1, 2011). I need to >>> be able to "clone" the rows with this caveat. >>> >>> I need to recalculate the number of rows based on a day/week >>> combination.. ex: September 1st 2011 falls on a Thursday so my pattern >>> would look like this: >>> >>> Thursday >>> Friday >>> >>> spacer >>> >>> Sunday >>> Monday >>> Tuesday >>> Wednesday >>> Thursday >>> Friday >>> Saturday >>> >>> spacer >>> >>> Sunday >>> Monday >>> Tuesday >>> Wednesday >>> Thursday >>> Friday >>> Saturday >>> >>> etc. >>> >>> Sunday >>> Monday >>> Tuesday >>> Wednesday >>> Thursday >>> Friday -- end of the month. >>> >>> yeah I know... yeech.. >>> >>> Anyways any help would be greatly appreciated. >>> >>> >>> -- >>> -- >>> Scott Stewart >>> Adobe Certified Instructor, ColdFusion 8 & 9 >>> Adobe Certified Expert, ColdFusion 8 & 9 >>> >>> Blog: http://www.sstwebworks.com >>> Email: [email protected] >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:342271 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
