Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to make global variable in Microsoft Access 2016, special in Form? Can any one answer me?

user-image
Question added by Heba Mohammed , E-learning co-ordinator , Um slal Ali independence model school
Date Posted: 2016/11/15
Deleted user
by Deleted user

VBA Global variables are very helpful in some cases, Here is how you can use themPublic GBL_var1 As String Public GBL_var2 As StringOption Explicit Public Sub Init_Globals()' Access global variable initialization     GBL_var1 = Environ("init_from_any_environ_call_name")     GBL_var2 = " " End Subing something here End Sub

More Questions Like This