Unable to filter infotable inside foreach/for loop ?
Hi,
We have two infortables
infotable1 contains 50 records
infotable2 contains 3 records we want to get maching records of all in for each way. Please find below logic we have written
var tableLength = infotable1 .rows.length;
for(var z = 0; z < tableLength; z++)
{
var row=infotable1.rows
var params = {
fieldName: "source_number" /* STRING */,
isCaseSensitive: undefined /* BOOLEAN */,
t: infotable2 /* INFOTABLE */,
value: row.source_number /* STRING */ // If I pass this I am getting empty result if I pass hardcoded value it works fine
};
// result: INFOTABLE
var result = Resources["InfoTableFunctions"].EQFilter(params);
}
Colud you check is anything worng in my code?
Thanks
Anil Kesana

