Making a few assumptions but something like this should do the trick.

 Code:
Break on

$rc = Open(1, "c:\somecsvfile.csv", 2)
$line = ReadLine(1)

While @ERROR = 0 And $found <> "yes"
	$line = Split($line, ";")
	If $line[0] = @USERID
		? "Yippie Ka Yee.... found it!"
		$found = "yes"
	EndIf
	$line = ReadLine(1)
Loop

$rc = Close(1)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.