Nay VFP6, but thats the way I am get things as generic as possible and hopefully reuse it someday if I remember :-) anyway I *was* a bit ambiguous.
>No problem, glad to help. But based on your original comment, it sounded like a specific level in the call stack... that's why I did as single statement.
>
>Also, if you are working with VFP7, you could also use ASTACKINFO() which builds an array and then you could ASCAN() against that, but the loop technique is easy enough.