Dater Button On Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey All,

I have designed a payslip form and require the user to enter a date for the
payslip. I was wondering is there a way of me making a button next to the
payslip date, when clicked it inputs todays date into the payslip date field.
The name of my payslip date text box is 'PayslipID'. All help would be
great :) have a nice day
 
Hi Ben

Create a new button and use this OnClick event

Private Sub ButtonName_Click()
Me.PayslipID = Date
End Sub
 
Thanks Wayne! Spot on answer :)
Ben

Wayne-I-M said:
Hi Ben

Create a new button and use this OnClick event

Private Sub ButtonName_Click()
Me.PayslipID = Date
End Sub

--
Wayne
Manchester, England.
Not an expert
Enjoy whatever it is you do
 
Back
Top