>>>I am using INDEXSEEK in the stored proc. of my DB to check on the validity of the primary key that I am about to assign. The call is as follows:
>>>
>>> IF INDEXSEEK(m.cKey, .f., m.cTable, "PKey")
>>>
>>>Works great on my machine, whether from within VFP6 or via the EXE file of the app. On site, however, whenever it is invoked, the error message "Cannot find file INDEXSEEK.PRG" (or words to that effect) pops up. I had the client check the \WINDOWS\SYSTEM folder--the VFP6 DLL's are in place. Any ideas out there as to what might be going on??
>>>
>>
>>Are you certain that the .DBC is open and active at the time that the command is issued?
>>
>>>TIA.
>>>John
>
>Ed,
>
>Yes, I am certain the DBC is open--the user is viewing a record from the table when he or she initiates the add process. And the error message gives the correct line of the stored procedure routine where the call to INDEXSEEK is.
>
>Any further thoughts would be appreciated . . . .
>
>John
John,
Are you moving back and forth between VFP5 and VFP6? You may need to compile the DBC again in 6. See COMPILE DATABASE.