Why is there only one record in my recordset?
Submitted by admin on Sun, 2005-11-06 03:28.
When you do a recordcount and it return only one record in the recordset, while you know there are more records, you need to move to the last record before doing the count. Look at this example.
Dim rs As Recordset rs.MoveLast TxtNumRows.Text = rs.RecordCount
NOTE: Don't forget to do a rs.MoveFirst to get back to the first record again.
»
- Login to post comments

