>>lcref llFound Comment >>0303 .T. as expect field cref has these values >>0403 .T. expected .F. since there is no data for cref = 0403 >> confirmed this by using Select * from ii when ii.cref = lcref >> and get no records >>0503 .F. as expected since there is no data >>>>What am I missing, why is llFound true for lcref = 0403
>lcRef='0403' >? SEEK(lcref,'ii','tagnamesuggested'), SEEK('0403','ii','tagnamesuggested') >if SEEK(lcref,'ii','tagnamesuggested') > select ii > browse >endif >Cetin
CALCULATE cnt() FOR cref = lcref TO lncrefcnt IN ii llFound = IIF(lncrefcnt > 0,.T.,.F.)