Which events should I use for auditing?


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)Advanced StrataFrame User (532 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Which BO events should I place my auditing code into?



I'm using the AfterAddNew event to place my created by audit info in the proper fields. I believe this is the right event for new records, but I'd like confirmation. ;-)



Private Sub BluePrintsBO1_AfterAddNew(ByVal e As System.EventArgs) Handles BluePrintsBO1.AfterAddNew

Me.BluePrintsBO1.Created = Now

Me.BluePrintsBO1.CreatedBy = SystemInformation.UserName

End Sub



Which event should I use when a record is modified?



Thanks



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search