insert_date & update_date

R

RF

Guest
Hello,

I have two date fields in my db both are set to "Date". The insert_date function doesn't work for me while the update_date function works perfectly fine. I tried to change to Datetime but it didn't help anything. I also changed the config to numeric_english and it didn't help.

Any idea?

Thanks
Roger
 
E

Eugenio

Guest
RF wrote:

> Hello,
>
> I have two date fields in my db both are set to "Date". The
> insert_date function doesn't work for me while the update_date
> function works perfectly fine. I tried to change to Datetime
> but it didn't help anything. I also changed the config to
> numeric_english and it didn't help.
>
> Any idea?

From the documentation:

"insert_date: the current date will be automatically inserted in this field when you insert a new record in your table; you should not include an insert_date field in the insert/update form, see below for understand how to include/exclude a field from a form. Note that the corresponding MySQL field type must be date"

did you follow the rules above?



(Latest version of DaDaBIK when this message was posted: 3.0 beta)
 
Top