I am accessing an Access 2000 database with VB6. My problem: when I use the query (as below), it returns a null value, even if there is data in that record. Actually, it does return a value, but once the program passes the set statement, the value turns into a null. What I am trying to do is see if there is data in that field, and if there is, put that value into a text box, but if there is not, then put a "" value into the textbox. Here is my code, I hope someone can help me. Thanks <br><br><br>strSQL = "SELECT * from Answers where No_Employe = " & frmPassword.txtEmpNo.Text<br>Set con = New ADODB.Connection<br>con.Open "DSN=Training;UID=;PWD=;"<br>Set rs = con.Execute(strSQL)<br> If rs("Ques_" & (Index)) <> "" Then<br> txtAnswer.Text = rs("Ques_" (Index)) <br> Else<br> txtAnswer.Text = ""<br> End If<br><br><br>in my database, I have "Allow Zero Length" as yes<br><br><br>