Jim,
The code shown uses and 'undocumented feature', which was eliminated in VFP8. In the same way, let's suppose the VFP 9 won't reselect automatically the initial table in a SCAN...ENDSCAN loop. In this case, almost all my code will crash - I don't reselect the table before ENDSCAN.
Question: Would that behaviour be a bug? Wouldn't? Not reselecting the original table is an 'incorect code implementation'? In my oppinion, if it works, it is correct, but I won't assume a particular code will work in future versions.
>Sorry, but you did not add a new argument. Still from my point of view (I know, that field name should not have spaces at the end) it is incorrect code implementation. If stored in the structure table, I would retrive field names with alltrim().
Grigore Dolghin
Class Software.