In this video you'll learn how to run VBA code when your Access database form opens.
Get some screenshots and the code here:
https://vbahowto.com/2024/03/06/how-d...
Let me know in the comments area if you have a question.
Come and get me free tutorials at https://vbahowto.com
Disclaimer: I know that there are different ways to do this .... but this is the way I do it, thanks