Thanks for taking your time to help me through this. So where do you put the false at the end before the sub ends? Then how does this module get called. Does it happen when the database opens automaticly or do you need to put this some where?
I am sorry. I guess I am not getting where you are passing the parameter from. So do I put that parameter on the form on when it opens that the OpenAllDatabases is true. Then when it closes that it is false?
Hi TechCoach
This is where I am getting lost. What does that mean and how would you do that? Does that mean I create two modules one for open and one for close name them those name OpenDatabases True and False. Then on the form that is what I put on the open and close?
Hi
Do I enter the following code as a module? Then on a form do I just call this module then?
Sub OpenAllDatabases(pfInit As Boolean)
' Open a handle to all databases and keep it open during the entire time the application runs.
' Params : pfInit TRUE to initialize (call when application...