Naomi
Thanks for the routine, hope you don't mind me using it in my framework. I thought I recognized the name Nosonovsky in the code documentation (which I did leave intact) but the first name threw me (Nadya). You have answered questions for me before.
As I looked at the code once more, I discovered I don't even need the stopSrch boolean I added. I could have just used your m.halt boolean to accomplish the same end. You set esca on and it appears filer terminates when escape is pressed. To end the function I added:
IF stopSrch
RETURN "search Terminated"
ELSE
RETURN m.lcRetPath + m.tcFileToSearch
ENDIF
By the way, what does AFAIK mean??
Vince