MS Access find records in form

Even though there are many methods in MS Access to find records in a form to carry out the process of finding specific records in Visual Basic like GoToRecord but personally, I prefer the below mentioned method due to its effectiveness and flexibility.

MS Access Find Record

Firstly, create a text field to hold the text that you need to find it within Microsoft Access Database. Then, create another command button to hold the VBA (Visual Basic for Application) code. Lastly, right click on the command button, click on Build Event, and paste either of the following VBA codes.

Note that you will need to change the names of the fields that are shown at the below VBA codes to match the fields that you created in your own application.

MS Access Find Records in Form Method #1

Method # 2 – Efficient and short

This method is much easier and shorter than the above and sufficient to rely on.

The downloadable program demonstrates the process of the above VBA codes in both ways.

For more pro MS Access Programs, please visit our home page here.

To use Microsoft Access Programs.
You’ll need to have Microsoft Office installed including the bundle of MS Access or to download the free Microsoft Access 2016 run-time.