Joined: 09 Feb 2011
Location: Saudi Arabia
Online Status: Offline
Posts: 9
Topic: How to Chage Type in crystal report Posted: 05 May 2013 at 3:27am
hi,
i write the below code and after i saved the formula the type is coming as 'Boolean' (True/False) actually i need the result if "Active" my Aquision cost should appear and "NonActive" the amount need to be zero. my output come as number not Boolean. how to change it. please advice
if cstr({view_FA_Depreciation_Yearly.Asset_Status})="Active" then
tonumber({view_FA_Depreciation_Yearly.Acquisition_Cost})=tonumber({view_FA_Depreciation_Yearly.Acquisition_Cost}) else
tonumber({view_FA_Depreciation_Yearly.Acquisition_Cost}) = 0
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