Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Posted: 05 Jun 2009 at 6:42am
I am guessing that what you want is
f right(totext({@5th Month},0,""),2) = '01' then {@5th Month} - 89 else {@5th Month} - 1
totext by default returns your 200901 as 200901.00.
generically, if it had been more complex, I would have said to test your formula by just returning the totext part of the code to make sure that your test was correct.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum