janerussel
MIS
I created a macro to date stamp records when they are changed. I added the LastEditDt field to the form, set the Enabled property to NO and locked property to YES. The macro is attached to the BeforeUpdate event of the form. The action is to SetValue of LastEditDt field to Now().<br><br>When I changed a record on the form I got a message "The object doesn't contain the Automation object "LastEditDt" You tried to run a Visual Basic procedure to set a property or method for an object. However, the component doesn't make the property or method available for automation opertaions. Check the components'documentation for information on the properties and methods it makes available for Automation operations.<br><br>I changed the "LastUpdtDt" field Enable prop back to YES and the Locked prop to NO. I tried changing a record again and then use my combo box to go to another record. This time I get a run time error 2105 saying that I can't go to the specified record because I'm at the end of a recordset. It refers to the line in my combo box afterupdate event that says "Me.Bookmark = Me.RecordsetClone.Bookmark"<br><br>It seems to me that a date stamp is a common feature for tracking updates in a record. There should be an easier way to create this process. Does anyone know one?<br><br>