I am looking for a way to apply the current date to modified entries. Anyone know how to do this?
Feb 8, 2001, 10:44 AM
Veteran / Moderator (3034 posts)
Feb 8, 2001, 10:44 AM
Post #2 of 3
Views: 1431
In sub html_modify_form_record, just after
my (%rec) = &get_record($in{'modify'});
add:
$rec{'Date'} = &get_date;
This will automatically change the field called 'Date' to the current date. Change the field name to match that which you use in your database.
Hope this helps
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
my (%rec) = &get_record($in{'modify'});
add:
$rec{'Date'} = &get_date;
This will automatically change the field called 'Date' to the current date. Change the field name to match that which you use in your database.
Hope this helps
Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/