ms-access-forms

How do I run VBA code when form opens

How do I run VBA code when form opens? There are probably several ways people do it, and some may say “He’s not doing it right. It’s done this way…” Good for you. This is the way I do it now, and it has worked well for me. 1. Find the form you want to […]

Continue Reading

Simple Custom Progress Bar in Microsoft Access Forms Example

So I had a question come in regarding showing the progress of a task. Access has an ActiveX control that you can use called the ProgressBar and you can follow the guide in the image above to add it to your form. On you long running process you can show the progress bar so the […]

Continue Reading

Mouse Click Counter On Access Form

This post will demonstrate how you can count the number of clicks on your button in a certain time frame. It will function like a game . Here is the database form all in one: Option Compare Database Public m_dteStartTime As Date Public m_dteStopTime As Date Private Sub btnClicker_Click() Dim intValue As Integer Dim rst […]

Continue Reading

How To Open A Form To A Specific Record In Access 2016 VBA

In this post I am going to give you a basic example of how to open your Access form to a specific record. This works in all versions of Access, but we are using Access 2016 in this example. First create “parent and child” forms. In our case, it’s frmCustomers and frmOrders. Here’s “frmCustomers” Here’s […]

Continue Reading

VBA MS Access Form Filter Example

This post is going to show you a ms access form filter sample. The database I created only has one table called “Categories”. We are going to have a form called “frmCategory”. The form is going to be a “Split Form”, because that seems to be quicker than the “main form / sub form” setup. […]

Continue Reading

MS Access Form Calculation On Checked Items

In this video you will learn how to perform a calculation on checked items in your MS Access form Get the database here: MS Access Form Calculation On Checked Items Database By the way, if you got or are getting value from the VBA information, please give me a tip, thanks!

Continue Reading

Access Forms – Access Default Value

This post is a result of a question I had from a visitor. They were having an issue opening a related form when there was not a related record. One way of solving this issue is using the default value on the sub form. 2 different ways to handle a main form and sub form […]

Continue Reading

MS ACCESS FORM OBJECTS – PT3

Get all the videos in this Access VBA collection 100% FREE by signing up at https://vbahowto.com/ms-access-tutorial In this video I talk about the “With” Statement, and 2 DoCmd methods, DoCmd.OpenForm and DoCmd.OpenReport There are many arguments for the OpenForm and OpenReport methods I will elaborate on at the blog, https://vbahowto.com This is part 3 of […]

Continue Reading

MS ACCESS FORM OBJECTS – PT2

Get all the videos in this Access VBA collection 100% FREE by signing up at https://vbahowto.com/ms-access-tutorial In this video I continue to talk about ms access form object items as I demonstrate how to set control values. I also will show how to reference ms access form object items. This is part 2 of a […]

Continue Reading

MS ACCESS FORM OBJECTS – PT1

Get all the videos in this Access VBA collection 100% FREE by signing up at https://vbahowto.com/ms-access-tutorial In this video I talk about vba properties and methods of ms access form object items. I also will show how to reference ms access form object items. This is part 1 of a 3 part video series. You […]

Continue Reading