Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to distribute contents of a single array into different tables

Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day!

I have a table which looks like these:

11111 11111 11101
11111 11111 01111
11111 11110 11111
11111 11111 11111

The values in the table are being read from a file then transferred to an array, then put into a table.

My problem is that, I want to group all the indexes per block so that I am able to
isolate a block. My task is to have "View Block 1" as one of ly functions.

I have several ideas in mind:

1. If it would make it easier, I will separate a block from the other by using dynamic tables. meaning, every block is in his own table. But problem is, how can I get the indexes?

2. Hide other blocks when the particular block is currently viewed. I have tried this,
but my GUI became ugly.

3. Think of a formula that will compute for the indexes which should belong to Block 1, then put it in an array, then compute for the indexes in Block 2, put it in the same array.. so on..

Can anyone give me some advice?
Have been dealing this for quite a while now.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic