I have a report card that lists the grades for a student in a string field. This field has both numbers ranging from 0 to 110 and alpha characters in it. My problem is that if the student grade is less then 70 I need to show an F other wise I show the grade be it alpha or numeric. I am using the following simple formula in CR 9:
if {Table.GradeMP1} <= "69" then "F" else {Table.GradeMP1}
The problem occurs when the grade is 100 or greater it is also recieving the F since it is a string and sees 100 as 10. I have tried to use the tonumber function but that causes the rest of my formula to expect a number.
If anyone can help it would be greatly appreciated since I have a customer waiting to print. Thanks in advance
C.Nice
RealTime Information Technology Inc.
if {Table.GradeMP1} <= "69" then "F" else {Table.GradeMP1}
The problem occurs when the grade is 100 or greater it is also recieving the F since it is a string and sees 100 as 10. I have tried to use the tonumber function but that causes the rest of my formula to expect a number.
If anyone can help it would be greatly appreciated since I have a customer waiting to print. Thanks in advance
C.Nice
RealTime Information Technology Inc.