Set Datetime field to current datetime

Dear All,

In the customer card form I created a field which is updates when the user try to insert something in XXX >field.

The field which i created is from type (DATETIME)---- > New Field

and in the target field i entred in OnInputChange Trigger the Follwoing;

CC_Change_Time:=CURRENTDATETIME;

Thanks,

Zayed

But its not working?

Did you try under OnValidate trigger?

Thanks a lot,

It worked!