G
gobogo90
I am trying to loop through an array created using the
MSPJGRID.CurrentRow method.
I can access each member of the array explicitly, but not using a
variable. So, in JSCRIPT. Example:
var rows = MSPJGRID.Currentrows
var nLength = rows.ubound() - rows.lbound() + 1;
for (i=1;i<=nLength;i++)
{
var rpProjID = MSPJGrid.GetCellValue(rows.getItem(i),
'<%=const_dbWPROJ_ID%>');
}
If I use rows.getItem(1), the line executes. If I use rows.getItem(i)
the line will not exexute. I'm stumped....any ideas?
Thanks,
Greg Steinbach
MSPJGRID.CurrentRow method.
I can access each member of the array explicitly, but not using a
variable. So, in JSCRIPT. Example:
var rows = MSPJGRID.Currentrows
var nLength = rows.ubound() - rows.lbound() + 1;
for (i=1;i<=nLength;i++)
{
var rpProjID = MSPJGrid.GetCellValue(rows.getItem(i),
'<%=const_dbWPROJ_ID%>');
}
If I use rows.getItem(1), the line executes. If I use rows.getItem(i)
the line will not exexute. I'm stumped....any ideas?
Thanks,
Greg Steinbach