Index corruption can cause any kind of strange error messages or even crash VFP.
>Please ignore this message ... I read the manual (surprise) and then REINDEXED
>
>
>What does 'Record out of range' mean on a LOCATE statement? I have
LOCATE FOR &lcPKField = lnpk
>
>lcPKField is the name of a numeric field
>lnpk is a numeric value (which matches one of the records)
>
>I get this the first time only using a form --- but it happens consistently.
>
>How can you get 'Record out of range' on a LOCATE????
>
>Thanks
--sb--