>I'm getting an error that "THISFORM can only be used within a method" but oResponse is just an object created in a PRG. The PRG is called from a form. >
>LOCATEFOR Covr.Pat_No = ALLTRIM(oResponse.SubID) AND Covr.CvPs = 'P'
>
Do you have a filter defined for the cursor? LOCATE would attempt to evaluate the filter in addition to the FOR clause.