well...

$x=ASCAN($recordset,@USERID)
? $x
If $x = @USERID

well, ascan doesn't return values but indexes.
_________________________
!

download KiXnet