D DBFIN Registered User. Local time Today, 08:51 Joined May 10, 2007 Messages 205 Jan 25, 2017 #1 I used a simple Val() function to convert $50,000 from text to number, but it returns a value of zero. The script is a follows: BI_DED_AMT: Val(IIf([Factor PL_Deductible]="None","0",[Factor PL_Deductible]))
I used a simple Val() function to convert $50,000 from text to number, but it returns a value of zero. The script is a follows: BI_DED_AMT: Val(IIf([Factor PL_Deductible]="None","0",[Factor PL_Deductible]))
C CJ_London Super Moderator Staff member Local time Today, 13:51 Joined Feb 19, 2013 Messages 17,562 Jan 25, 2017 #2 you need to lose the $ sign e.g. .........,mid([Factor PL_Deductible],2)))
D DBFIN Registered User. Local time Today, 08:51 Joined May 10, 2007 Messages 205 Jan 25, 2017 #3 Thank you, that works.