I have the following located in the field's Calculate script but cannot get it to work. It seems pretty basic but I am missing what's wrong.
if (tblReimbRcvd.row3.cost2Dec.rawValue > tblCourse.row8.cost2Dec.rawValue)
{
this.rawValue = tblCourse.row8.cost2Dec.rawValue;
} else {
this.rawValue = tblReimbRcvd.row3.cost2Dec.rawValue;
}
File can be found here.
Solved! Go to Solution.
Views
Replies
Total Likes
Try this:
if (Number(tblReimbRcvd.row3.cost2Dec.rawValue) > Number(tblCourse.row8.cost2Dec.rawValue))
{
this.rawValue = tblCourse.row8.cost2Dec.rawValue;
} else {
this.rawValue = tblReimbRcvd.row3.cost2Dec.rawValue;
}
Try this:
if (Number(tblReimbRcvd.row3.cost2Dec.rawValue) > Number(tblCourse.row8.cost2Dec.rawValue))
{
this.rawValue = tblCourse.row8.cost2Dec.rawValue;
} else {
this.rawValue = tblReimbRcvd.row3.cost2Dec.rawValue;
}
Perfect. I knew it was something simple.
Thank you!!
Views
Replies
Total Likes
Views
Likes
Replies