how to assoicate the datatimepicker with dbedit

i want a dbedit(datetype) to receive the contains of datetimepicker. and save it to database.

how can i do it?
ws1999Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Mohammed NasmanConnect With a Mentor Software DeveloperCommented:
you can find some DBDateTimePicker in this link
http://www.torry.net/db_datetime.htm
0
 
kretzschmarCommented:
in the beforepost event use

dataset.fieldbyname('FieldName').AsDateTime := DateTimePicker1.date;

in the afterscroll-event use

DateTimePicker1.Date := dataset.fieldbyname('FieldName').AsDateTime;

meikl ;-)
0
All Courses

From novice to tech pro — start learning today.