OK for NoVarsInStrings compliance.

Chris, for "Cache result", what OS are you working on ?
I am working on NT WorkStation 4 and DSClient For NT is not as powerful as W2K, WXP or W2K3.

i continue to investigate about "cache results" but it could a side-effect of recordcount property !!!
with cache result = 1, the loop is OK
with cache result = 0, the loop exits after the first element event if recourdcount is greater than 1


I have made some test with the two versions :
for time execution, there is no difference but for memory, my version uses half memory.
For small sets of data, this is not important but for large set, the difference becomes real.

i know memory isn't expansive now but when I can optimize resource use, i do it.
_________________________
Christophe