Solved

how to assoicate the datatimepicker with dbedit

Posted on 2001-08-30
2
250 Views
Last Modified: 2012-08-14
i want a dbedit(datetype) to receive the contains of datetimepicker. and save it to database.

how can i do it?
0
Comment
Question by:ws1999
2 Comments
 
LVL 22

Accepted Solution

by:
mnasman earned 50 total points
ID: 6439935
you can find some DBDateTimePicker in this link
http://www.torry.net/db_datetime.htm
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6439939
in the beforepost event use

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

in the afterscroll-event use

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

meikl ;-)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now