M
Mike
using VBA 2000, in my code I have a query which selects a
recordset. My problem is how to display that recordset
into a form. I tried
If Not recordset.EOF Then
recordset.movefirst
Do Until recordset.EOF
form1.fieldname.text = recordset!firstfield
form1.fieldname.text = recordset!secondfield
recordset.movenext
Loop
End If
but nothing ever shows up. I tried using filename.value
instead of .text but still no luck. When I put breaks
each recordset field and form field have the right values.
Any ideas how to do this properly?
recordset. My problem is how to display that recordset
into a form. I tried
If Not recordset.EOF Then
recordset.movefirst
Do Until recordset.EOF
form1.fieldname.text = recordset!firstfield
form1.fieldname.text = recordset!secondfield
recordset.movenext
Loop
End If
but nothing ever shows up. I tried using filename.value
instead of .text but still no luck. When I put breaks
each recordset field and form field have the right values.
Any ideas how to do this properly?