check first the column name of recordset is spelled correct then check it doen't contain any null value to avoid this use this code
txt.text=Rs0("FirstName") &""
Or, as a first step in debugging, comment out the existing line and replace it with...
This will determine for certain whether the problem lies with the database field or the textbox. My money would be on the latter.
If the textbox is the problem, then chances are it is simply out of scope. For example, your code might be on a different form, or in a code module rather than a form. If that's the case, then you need to identify the form that it lives on - see my earlier post for details.
On the other hand, are you
certain it's a textbox? And not, for example, a label?