I think SET DELETED may be the problem, Thanks
>Hi Geoff,
>
>I think that your problem is different than the Tore`s one.
>The CPCURRENT() and CPBDF() are the same and the optimization level is partial in your case. I have had the same problem as Tore, but the code pages were different and optimization level was none in our case.
>
>It seems to me that VFP9 indicates patrial optimization if SET DELETED ON, too.
>
>Ladislav
May all your weeds be wildflowers