Solved

how to assoicate the datatimepicker with dbedit

Posted on 2001-08-30
2
252 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:
Mohammed Nasman 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
Strange behavior when a form is closed 6 57
How to define IfThen functions in one common unit? 4 52
Base1 Encode/Decode 3 77
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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