In my database, the format for 8 columns are as shown:
+------+------+------+------+------+------+------+------+
| MPT | MPB | MP1T | MP1B | MP2T | MP2B | MP3T | MP3B |
+------+------+------+------+------+------+------+------+
| 4 | 7 | 1 | 1 | 3 | 3 | 0 | 3 |
| | | | | | | | |
| 28 | 5 | 4 | 0 | 24 | 5 | 0 | 0 |
| | | | | | | | |
| 19 | 7 | 7 | 1 | 8 | 6 | 4 | 0 |
| | | | | | | | |
| | | | | | | | |
| 40 | 4 | 33 | 1 | 7 | 3 | 0 | 0 |
| 2 | 121 | 0 | 38 | 2 | 83 | 0 | 0 |
| | | | | | | | |
| 26 | 13 | 2 | 4 | 24 | 9 | 0 | 0 |
| 20 | 3 | 2 | 1 | 18 | 2 | 0 | 0 |
| 6 | 20 | 3 | 8 | 3 | 8 | 0 | 4 |
| 5 | 7 | 0 | 1 | 4 | 4 | 1 | 2 |
How can i get access within any rows?
Because if lets say the first column already exceeds 30, then the remainning column i will no need anymore.
I just know how to loop through in columns using RS.Fields("MPT").Value
Any help? Thanks