Hello,
I would like on a form to capture old value and new value of a field record.
The field is {race}
OnBeforeUpdate, i put these lines:
$old_race = {race};
sc_set_global($old_race);
OnAfterUpdate, i send by mail this line:
$mail_message = 'Type d’articles ‘.{PRODUCTION}.’ Ancienne race ‘.{old_race}.’ Nouvelle race: '.{race}; // Message body
But it’s return always the new value of {race}:
Type d’articles Articles muscles congel?s avec maturation Sta lAncienne race MAINE ANJOU Nouvelle race: MAINE ANJOU
I was waiting for:
Type d’articles Articles muscles congel?s avec maturation Sta lAncienne race CHAROLAIS Nouvelle race: MAINE ANJOU
Could you help me?
Best regards,
Olivier