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

Comments

  1. Thank you so much...
    If 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...

    ReplyDelete
  2. What database are you writing to.

    As 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...


    ReplyDelete
  3. still can not for input data... can you show an example for that code? Plissss... help me for my subjects...

    ReplyDelete

Post a Comment