Hmmm,
If a record gets updated or changed via a user modification, the modification date for the record will also get updated, (assuming the change has been validated).
Is there a way to change the Mod_Date for a record when the admin makes changes to a record. Currently, One has to manually change the mod_date in order for the change to be reflected when building.
What I'm trying to do is recording the last date the record was actually changed whether by admin or by user or whatever.
I had hoped I could say something like
$form = $db->build_html_record_form ($hits, {...
Mod_Date => \&get_date,
...
});
Doesn't work. Just get an error saying can't find the subroutine get_date.
Anybody have any ideas on this?
Peace.
Kyle
If a record gets updated or changed via a user modification, the modification date for the record will also get updated, (assuming the change has been validated).
Is there a way to change the Mod_Date for a record when the admin makes changes to a record. Currently, One has to manually change the mod_date in order for the change to be reflected when building.
What I'm trying to do is recording the last date the record was actually changed whether by admin or by user or whatever.
I had hoped I could say something like
$form = $db->build_html_record_form ($hits, {...
Mod_Date => \&get_date,
...
});
Doesn't work. Just get an error saying can't find the subroutine get_date.
Anybody have any ideas on this?
Peace.
Kyle