Well, i would like to store a textbox value (dateformat) in a global variable and then use her value to find a specific data in my DB
so i wrote it:
IN MODULE 1:
'Set a global variable
Public glbdate As Date
'Create a function
Public Function globaldate()
glbdate = Format(dt_lan, "mm/dd/yyyy")
End Function
IN A TEXTBOX FIELD(Event afterupdate field):
Call globaldate 'call function to get the date
IN A COMMAND BUTTON:
cnctnate = glbdate & manline & model 'Im trying to get the value
IDK what's going on, but it's not working. HELP PLS!
Thanks,
Bookmarks