On 7/25/2012 5:31 PM, Paul Hill wrote: > On 25 July 2012 22:26, Sytze de Boer <sytze.k...@gmail.com> wrote: >> I never reply to this kind of email because I leave it to you gurus >> However, I was just working with a live system where I use this formula >> >> today=date() >> m1=(year(trans.date)*12)+month(trans.date) >> m2=(year(today)*12)+month(today) >> lvMonths=m2-m1 > > That's the idea same as my version :-) >
Yep...you both win the prize! Nice and neat. Thanks! -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/5010680a.4050...@mbsoftwaresolutions.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.