how can I add create and last modify date & time to my table
how can I add create and last modify date & time to my table
Question doesn't make sense. Give a better explanation of what you need.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Example:
table for customers [name, family, mobile, createDate, createTime, modifyDate, modifyTime]
when I create new customer, automatically fill createDate and createTime records with date and time
when I modify customer information, automatically fill modifyDate and modifyTime records with date and time
You can set DefaultVaue property in table or textbox on form with: Date()
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Need VBA code.
How is the program to know that you opened the record to 'modify' and not just to look at? Are you modifying data in name, family, mobile?
Maybe code in the form BeforeUpdate event?
Me!modifyDate = Date()
Why not one field for date/time?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.