Forum Discussion
Hi Mike,
Here's what I mean: while (!Driver1.EOF){
//Fill out parameters for tab1
while(!Driver2.EOF){
//Fill out parameters for tab2
while(!Driver3.EOF){
//Fill out parameters for tab3
..........
..........
while (!Driver6.EOF){
//Here is where the problem lies (I think). When I get here, ALL rows for Driver 6 must be run.
As far as I understood, you have the same number of rows in each of the six datasheets, and you need to go through the sheets synchronously, right? In this case, you need only one while loop. If you want to control other drivers for EOF (just in case the test data is invalid), you can check them in the same "while" condition --
while(!Driver1.EOF() && !Driver2.EOF()... )
{
// Your test goes here...
Driver1.Next();
Driver2.Next();
..
Driver6.Next();
}
Does it work for you? Or am I missing something in your description?..