Mike Vytal
Registered User.
- Local time
- Today, 07:02
- Joined
- Feb 1, 2007
- Messages
- 34
Access 2007 -- LOVE IT OR HATE IT??? I have a macro:
SetValue
Item: User
Expression: CurrentUser
SetValue
Item: LastUpdated
Expression: Now()
The macro is called "Last Modified", and I have it set to the After_Update property. I have even tried the following:
Private Sub Form_AfterUpdate()
Me.Refresh
Me!User = CurrentUser
Me!LastUpdated = Now()
End Sub
All I want is for the User & LastUpdated fields to be populated once a user makes a change to the record. In Access 2003, the macro worked fine! In '07, I have to hit the 'Esc' button to advance to the next record when either the macro or code is implemented. Please Help!!! Thanks....
SetValue
Item: User
Expression: CurrentUser
SetValue
Item: LastUpdated
Expression: Now()
The macro is called "Last Modified", and I have it set to the After_Update property. I have even tried the following:
Private Sub Form_AfterUpdate()
Me.Refresh
Me!User = CurrentUser
Me!LastUpdated = Now()
End Sub
All I want is for the User & LastUpdated fields to be populated once a user makes a change to the record. In Access 2003, the macro worked fine! In '07, I have to hit the 'Esc' button to advance to the next record when either the macro or code is implemented. Please Help!!! Thanks....