Hi Gary,
Add these 2 fields to all your tables (I make them the last
2 fields.
DateCreated, date, DefaultValue = Now()
DateModified, date -- update on the form BeforeUpdate event
the best way to use the DateCreated field is to set a
default value of
=Now()
in the table design.
For Date Modified, make sure it is on your form (I put it in
the form footer and LOCK it). Then, use the Form
BeforeUpdate event to set the value
me.DateModified = now()
This will record when records were created and modified --
then you can write a program to search these fields of your
tables and return the tablename whose record was last changed.
Warm Regards,
Crystal
MVP Microsoft Access
remote programming and training
strive4peace2006 at yahoo.com
*
Have an awesome day
