J
Junior
Need advice -please excuse if my terms are incorrect
I'm setting a global (public) variable using a cbo box on Form1 after update
using this code
Me.Requery
IntAdd = DLookup("PAdd", "tblProfSusp")
and also in the Main form Onopen event
IntAdd = DLookup("PAdd", "tblProfSusp")
the Main form is always open - sometimes hidden
do i need to put code elsewhere?
or is there a better solution -
IntAdd is used in several functions
I'm setting a global (public) variable using a cbo box on Form1 after update
using this code
Me.Requery
IntAdd = DLookup("PAdd", "tblProfSusp")
and also in the Main form Onopen event
IntAdd = DLookup("PAdd", "tblProfSusp")
the Main form is always open - sometimes hidden
do i need to put code elsewhere?
or is there a better solution -
IntAdd is used in several functions