QUOTE(jaakko @ 13 Oct, 2008 - 02:46 PM)

QUOTE(rudeman76 @ 13 Oct, 2008 - 05:48 AM)

I have just started using dtpicker. I have a form that the user enters in the events throughout the day. I use dtpicker for the user to enter in the time. I have format set to: 2 - dtptime. When the form loads i set the time to the current time. My problem is when the user changes the time, it still takes the current time. It wont take the new time entered. I dont know enough about dtpicker to figure it out. I have searched but cant come up with anything. i have been using dtpicker.value to retrieve the time.
Andrew
You should show your code to be helped.
i only hava little bit of code for it. I do most of it in the properties.
CODE
txtTime.MinDate = "00:00"
txtTime.MaxDate = "23:59"
txtTime.Value = Format(Time, "Short Time")
this is as form load. I just added the 1st 2 lines to try it.
CODE
strtime = txtTime.Value
this is after the user enters in a time and comment and presses an ok button. From here it enters it into an access table.