Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 27 Jun 2011 at 10:29am
just add in the condition to look for an empty string and make it 0 (which will not convert to a 0 like a NULL does).
IF {SY0_CompanyParameters.ARAgeByDayOrMonth} <> "D" Then 120 else if trim({SY0_CompanyParameters.ARAgingCategory4}))="" then 0 else tonumber({SY0_CompanyParameters.ARAgingCategory4})
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