I'm using a Do Loop to cycle through a table and compare the value of a variable to the value of one of the fields. Oddly, the comparison works fine if I manually assign the value of the variable (e.g. "ContactKey = 11") but the comparison fails if I use the ContactKey = Request.form("ContactKey") method. *However* (and this is where it gets weird), the ContactKey = Request.Form("ContactKey") is successful at retrieving the value from the previous page. I've verified that this is true by doing a "Response.Write ContactKey" outside of the Do Loop. No problems in that event. This problem is really blowing my mind. Any help would be tremendously appreciated. Here's the code:<BR><BR>ContactKey = Request.Form("ContactKey")<BR><BR>objRS.MoveFirst< BR>Do While not objRS.EOF<BR> If objRS.Fields("ContactID") = ContactKey Then<BR> varContactName = objRS.Fields("FirstName") & " " & objRS.Fields("LastName")<BR> End If<BR> objRS.MoveNext<BR>Loop<BR><BR>Many, many thanks in advance!