I've a button that I'd like to make put the current date and time in a date/time field I have in my table. It is the table associated with the form. But I just don't know how to do this. Any ideas. I'm thinking I'll have to use the Now() function, but I don't know how to put it in the table. Here's what I've tried
Private Sub cmdSubmit_Click()
tblTicket.StartTime = Now()
End Sub
I've also tried
tblTicket.StartTime.value = Now()
TIA,
Seth
Private Sub cmdSubmit_Click()
tblTicket.StartTime = Now()
End Sub
I've also tried
tblTicket.StartTime.value = Now()
TIA,
Seth