potete correggermi questo script?

if (Recordset1.Fields.Item("USERNAME").Value).eof then response.write"ok"
else
Response.Write srtUsername
grazie