Share this Page URL

Using Visual Basic to Manage Data 611 7. Continue pressing F8 to step through the remainder of the procedure. The MoveFirst method returns the cursor position to the beginning of the recordset, and the proce- dure then calls Debug.Print to display in the Immediate window the value of the FirstName field ("Nancy") for that record. Likewise, the MoveLast, MovePrevious, and Move methods jump to spe- cific records in the recordset and display those results as well. Just the Steps Open an ADO recordset in an external database 1. In Visual Basic, declare an object variable for the Connection object and the Recordset object.