Help me plisss....
Help me plisss....
Share coding for input data after we determine date where datetimepicker so that the data its can go into the database. Plisssss
Share coding for input data after we determine date where datetimepicker so that the data its can go into the database. Plisssss
Thank you so much...
ReplyDeleteIf there is no objection, can you give me an example a code(coding) for storing dated data?
Because i did not find ...
Help me pliss...
What database are you writing to.
ReplyDeleteAs long as the field type is defines as date, time, or timestamp
you can write to it.
in Delphi
Mydatabasefilename.fieldbyname('MyDateField').asdatetime := Datetimepicker1.date;
Or
Mydatabasefilename.fieldbyname('MytimeField').asdatetime := Datetimepicker1.Time;
Or
Mydatabasefilename.fieldbyname('MyTimeStampField').asdatetime := Now
Try it it will work if not it will tell you why...
still can not for input data... can you show an example for that code? Plissss... help me for my subjects...
ReplyDelete