default value in datetime field

Developers
mfdezp
2011-11-10
2013-05-15
  • mfdezp

    mfdezp - 2011-11-10

    Can somebody say me how i can set a default value to a timedate field, in version 3.8.4?

    It seem in older version of P4A, exists setDefaulValue, but now there isn't.

    Thanks.

     
  • croaker___

    croaker___ - 2011-11-10

    In 3.8.2, I use:

    p4a_db_source::->fields->myfield->setDefaultValue(1);

    I shouldn't think 3.8.4 is much different…

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks