Al wrote in 2012: "The other thing I have found with the For All syntax is that it doesn't always work if the action you take inside the loop writes to the file being scanned, so if your Do_The_Deed code writes to the OrderItem file it can cause it to go to the end of the file and close out of the For All loop."
[27130.foren.mysnip.de]
(bolding is mine)
Well, no improvement in this respect. The same problem still exists in WD21; the code doesn't do what it is supposed to do, it just slips through the loop doing nothing...
The workaround for this is to use instead a HReadFirst - HReadNext structure to do the deed.
Best regards
Ola
PCSoft's motto: "Why fix old bugs when it's much more fun creating new ones":eek:
[27130.foren.mysnip.de]
(bolding is mine)
Well, no improvement in this respect. The same problem still exists in WD21; the code doesn't do what it is supposed to do, it just slips through the loop doing nothing...
The workaround for this is to use instead a HReadFirst - HReadNext structure to do the deed.
Best regards
Ola
PCSoft's motto: "Why fix old bugs when it's much more fun creating new ones":eek: