Rabu, 01 Juni 2016

[MS_AccessPros] Last Updated - My error

 


I am a modest Access user. As a result I have little experience.

I have a form with a "Last Upated" field, [Lastupdated] and I need to
update that field whhenever I make a change to the data.

I have used this code in the 'After Update' property:

= If Me.Dirty Then
Me![LastUpdated]=Date()
End If

And I get an error message .

I have also tried an eveny:

Private Sub Form_AfterUpdate()

If Me.Dirty Then
Me![LastUpdated] = Date()
End If

End Sub

which fails.

Your help will be appreciated.

Regards,

Robin Chapple

__._,_.___

Posted by: Robin Chapple <robinski@westnet.com.au>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar