Forum Discussion
tristaanogre
8 years agoEsteemed Contributor
Change your code to the following:
for (var row=0;row<=this.grdDocuments.wRowCount-1;row++) { aqObject["CheckProperty"](this.grdDocuments,'wValue(' + row + ', "Statut")', cmpEqual, 'CP'); }
row, being a variable, needs to be evaluated as such. As you had it, the string 'row' was being sent to the wValue property instead of the value of the variable row