Hi
I have a problem with this code :
in event before record updated:
If($values["paged"]=="1" and $oldvalues["paged"]=='0')
{
$values["paged_date"] = now();
}
If($values["Betjenes"]=="1" and $oldvalues["Betjenes"]=='0')
{
$values["betjenes_date"] = now();
}
If($values["Done"]=="1" )
{
$values["Done_date"] = now();
}
return true;
It is only the first IF there is workin not the others.
it should be used for not to update the coloum if the values already has a timestamp.
reg. Kim.