No cigar! I specified juststem(...) and still the problem. I am afraid the problem may be in the documentation or VFP engine (oh no!)
Thanks
Glenn
>Hi Glenn.
>
>I think the problem is with cIDXIndexFileName. The SEEK already assumes this is an IDX, so the file name extension needs to be removed. Change your prg to
>
>cIDXIndexFileName = Substr(Sys(2015),2,8)
>
>and first SEEK in your code then works.
>
>Alan