wsproperties
MIS
I have a text field called corebirthyr. I want to subtract it from year(currentdate) which is a numeric.
I converted the corebirthyr to numeric tonumber({corebirthyr}). I then created a formula subtracting corebirthyr from year(currentdate) with the purpose of getting the numeric age.
I keep getting an error message saying that the tonumber(corebirthyr) is a string. If I used the tonumber function that should not be the case. Is there another way to compare the 2 fields to get the age. I do not think I can use datediff function in this case since we are comparing 2 different data types??
I converted the corebirthyr to numeric tonumber({corebirthyr}). I then created a formula subtracting corebirthyr from year(currentdate) with the purpose of getting the numeric age.
I keep getting an error message saying that the tonumber(corebirthyr) is a string. If I used the tonumber function that should not be the case. Is there another way to compare the 2 fields to get the age. I do not think I can use datediff function in this case since we are comparing 2 different data types??