splint1906
Technical User
I have a form where the user choose the Starting MMM-YYYY and Ending MMM-YYYY. I'd like to set the default value for the Starting Period and the Ending Period to Jan-Present Year and Dec-Present Year.
I've tried to use the following code on the OnOpen event procedure of the form but I think my syntax is wrong:
Me.Starting_Period.Defaultvalue = "Jan-" &Year(Now())
I've tried to use the following code on the OnOpen event procedure of the form but I think my syntax is wrong:
Me.Starting_Period.Defaultvalue = "Jan-" &Year(Now())