Avatar

Level 7

Hi radzmar,

Thank you! very much for your suggestion.

I'd like to understand your solution a little better:

  • the TableHORates has 14 columns (Cell) containing other rate and features information for each of the products--this script only uses the 1st 5 cells. So, I think
    for c=0 upto Cells -1 step 1 do
    should be
    for c=0 upto 4 step 1 do
    or
    assign var Cells = 5  //above
  • are you concerned about variable scope when you declare the variables within the loop? This is something I never considered. If so, if this is the best practice? or essential?  I'd like to understand better.
  • finally--the rows are not instances--just named alike
    I believe I tried the method: TableHORates.Row.instanceManager.count
    and it doesn't work for objects that happen to be named alike--you can access them using a loop but the instanceManager doesn't work on them. The nodes.length might work for this, too? Or not? Or, just assign the value to var Rows = 47

I'm especially interested in understanding if scope is the problem.

Thanks,

Stephen