Ok, this works, however it is not ideal...
Here is what I am doing:
Option Compare Database
Option Explicit
Public StartOption1 As Integer
Public Function SetStartValues()
Application.SetOption "Behavior entering field", 1
End Function
Public Function GetStartValues()
StartOption1 = Application.GetOption("Behavior entering field")
End Function
Public Function ResetStartValues()
Application.SetOption "Behavior entering field", StartOption1
End Function
I call the GetStartValues function and then the SetStartValues function when the main Splash Screen opens. This works just fine.
I call the ResetStartValues function when the Exit System button is click before the application quit command is called. This works, however, if the user clicks the close X in the upper right corner (windows thing) then they will by pass this reset.
Is there any way of setting (or resetting) a value when the application opens or closes and not have the code tide to an event on a form?