Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

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?
0
ws1999
Asked:
ws1999
1 Solution
 
Mohammed NasmanSoftware 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now