Auto-Update

Hi Guy’s

I have a Problem :wink:

I will insert a Auto-Update but i works not.

My Code in Row Updating

// Row Updating event
function Row_Updating($rsold, &$rsnew) {
// Enter your code here
// To cancel, set return value to FALSE
$rsnew[“Notiz”] = “Geändert von CurrentUserName() am CurrentDate()”;
return TRUE;
}

Can anyone help me?

thx

and how can I make it so that every edit is in there
So the old one is not to be deleted and one is to be added

CurrentUserName() and CurrentDate() are PHP functions, you need to use, e.g.

$rsnew[“Notiz”] = "Geändert von " . CurrentUserName() . " am " . CurrentDate();

What did you mean by “the old one is not to be deleted and one is to be added”?