>I've been trying to understand your new code and it appears to me >that you really have to use resolveNodes because you really don't >know what the array index would really be, but it is possible you >could explain why it's not as simple as the rooms[] index ranging >from 0 to 3 since that's all of the room rows that I had.
Actually, I don't know why it gives those stupid ranges (smth like 7 ,22 , you can check it with messageBoxes), maybe it's because of you adding new instances of rows with script. If you will add them with XML datasources, it will be with normal ranges.