>I am using the following to find the string in (thisform.caption)
>
>
>if instr(1,thisform.caption,"abc") <> 0 then
>
>endif
>
>In foxpro it is not recognising the instr.
>
>Could you please tell me what to use here.
>
>Thank you.
IF ATC("abc",thisform.caption)<>0
If case is significant, just use the AT() function instead of ATC().