Hello again ppl,
Need to be able to set the default value of the dtpicker to always show the current date on opening. and this date needs to be automatically put in a textbox (textbox 28) without the user having to choose from the calender.
Previously had the following code for the textbox
Private Sub DTPicker1_Change()
TextBox28.Value = DTPicker1.Value
unbound_ctrl_Date = DTPicker1.Value
End Sub
But the user still has to choose from the calender before the date is displayed in the textbox.
Any help appreciated
Need to be able to set the default value of the dtpicker to always show the current date on opening. and this date needs to be automatically put in a textbox (textbox 28) without the user having to choose from the calender.
Previously had the following code for the textbox
Private Sub DTPicker1_Change()
TextBox28.Value = DTPicker1.Value
unbound_ctrl_Date = DTPicker1.Value
End Sub
But the user still has to choose from the calender before the date is displayed in the textbox.
Any help appreciated