General information
Category:
Coding, syntax & commands
Tim-
To add to Jim's post...I *think* you may need to check which table you have selected at the top of the DO WHILE. The first time in, it's selected on ECU, but at the bottom of the DO WHILE you select scanfile. The first time you don't get *bitten* as long as both files have the same EOF() condition, which is really just lucky. :) Mark shows you a good way of using the optional alias parameters to good effect.
Also, you might check out the SCAN command, it handles some things for you, like you don't need to reselected the driving table at the bottom of the loop, and you don't have to SKIP. It is also faster, as I understand it.
Also, hit reply to this or Mark's reply and check the < PRE > and < /PRE > tags (w/o the spaces). You can use those to PREserve the nice formatting of code for readability.
HTH
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only