In preceding Lessons, you have learned how to connect to a database as well as filling up the table with data in Visual Basic 2015, now you shall learn how to manipulate the data in the database. Manipulating data means adding news records, editing records, deleting records, browsing records and more.
In the previous Lesson, we have learned how to display the first record using the showRecords sub procedure. In this Lesson, we will create command buttons and write relevant codes to allow the user to browse the records forward and backward as well as fast forward to the last record and back to the first record.The first button we need to create is for the user to browse the first record. We can use button’s text << to indicate to the user that it is the button to move to the first record and button’s text >> to move to the last record. Besides we can use button’s text < for moving to previous record and button’s text > for moving to next record.
To learn the details of data editing, we suggest you grab a copy of Visual Basic 2015 Made Easy.
AUTHOR: DR. LIEW VOON KIONGVisual Basic 2015 Made Easy is written by Dr. Liew, the webmaster of our popular online Visual Basic Tutorial, vbtutor.net. This book is a complete guide to mastering Visual Basic 2015, from beginner to intermediate programmers. This book has been written to complement our free online Visual Basic 2015 tutorial with much more content. It is also an excellent reference text for high school or college-level computer science courses. Reading this book will allow you to:
This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.
If you require assistant and technical support, please email