On Thu, Mar 27, 2008 at 5:37 PM, MB Software Solutions General Account
<[EMAIL PROTECTED]> wrote:
> SELECT ThisVal FROM MyTable WHERE MyPK = ThisVal INTO CURSOR temp
> IF RECCOUNT("temp") = 0 then
> llExists = .F. && doesn't exist
> ELSE
> llExists = .T. && does exist
> ENDIF
>
> * or could be written this way if that's all you needed to do:
> llExists = RECCOUNT("temp") > 0
> return llExists
You can use _TALLY instead of RECCOUNT("temp")
--
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.