BarneyJoe Posted August 10, 2007 Share Posted August 10, 2007 Am just trying to do this, but not getting it. Basically I have a 'Date Entered' field, which defaults to the timestamp of the date a new record is entered. I also have a 'Last Updated' field - so when a new record is added, these would be the same - so would like 'Last Updated' to default to 'Date Entered'. I've tried just entering 'DateAdded' or "DateAdded" as the default in phpMyAdmin, but it doesn't like it. Any ideas? Cheers. Quote Link to comment Share on other sites More sharing options...
fenway Posted August 20, 2007 Share Posted August 20, 2007 Only way to do this is with a trigger. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.