Hi,
If you table has only one Row object that repeats (as opposed to a Row1, Row2, ...) you should be able to use;
var rows = Main.PreApproved.Table1.resolveNodes("Row1[*]");
for (var i =0; i < rows.length; i++) {
var row = rows.item(i);
var GrantFund = row.Fund.isNull ?0: row.Fund.rawValue.charAt(0);
if (GrantFund ==4|| GrantFund ==5) {
//...
}
}
Regards
Bruce