CrystalKim
MIS
I am using Crystal 8.5
I currently have a table that has fields named PreviousORR and CurrentORR. Both of these are number fields but are built as text in the database I get the information from. I tried to convert the field to a number but whenever I do I lose the decimal point and subsequent # which is very important for this field.
I have created a formula that compares both fields and, depending on the result comes up with a name.
Example:
If {QueryRiskRatingChanges.Current ORR}>{QueryRiskRatingChanges.Prior ORR} then
"Downgrade"
else
"Upgrade"
This formula works fine except for one rating which is 10.5. I am assuming that is because the field is read as text by Crystal, so it is reading the rating as a 1 instead of a 10.5.
Is there anyway I can correct this? I am ok with simple formulas but tend to get stuck when it starts getting complex.
Any suggestions would be most appreaciated
Thanks!
I currently have a table that has fields named PreviousORR and CurrentORR. Both of these are number fields but are built as text in the database I get the information from. I tried to convert the field to a number but whenever I do I lose the decimal point and subsequent # which is very important for this field.
I have created a formula that compares both fields and, depending on the result comes up with a name.
Example:
If {QueryRiskRatingChanges.Current ORR}>{QueryRiskRatingChanges.Prior ORR} then
"Downgrade"
else
"Upgrade"
This formula works fine except for one rating which is 10.5. I am assuming that is because the field is read as text by Crystal, so it is reading the rating as a 1 instead of a 10.5.
Is there anyway I can correct this? I am ok with simple formulas but tend to get stuck when it starts getting complex.
Any suggestions would be most appreaciated
Thanks!