Yes, you can. Seek() function is similar to the seek command, but it also return a value identical to found(). Regarding stars, only the person who started a thread can give stars.
>Hi Tore, can I use the following format ???
>
>Local cCode
>cCode="KHAN"
>clos data
>sele 0
>use invoice
>set order to code
>sele 0
>use names
>set order to code
>
>if seek(cCode,names)
> if seek(cCode,invocie)
> ?do something
> else
> ?seek is no good
> endif
>else
> ?seek is no good
>endif
>
>Thanks. I can't find anywhere on my screen how to put the stars on this message.
> Shafid