StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Which events should I use for auditing?
Which events should I use for auditing?
Post Reply
Like
0
Which events should I use for auditing?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
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
Reply
Like
0
Reply
Trent Taylor
Trent Taylor
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
You will want to use the Navigating event of the BO. This event is fired through the BusinessBindingSource when using grids.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Which events should I use for auditing?
StarkMike
-
18 Years Ago
It just depends on what you are trying to accomplish and what type of...
Trent L. Taylor
-
18 Years Ago
That'll work. I'll test the editing state on the save. ;-)
StarkMike
-
18 Years Ago
Whoops! spoke too soon. I'm using a grid so I'd like to update the...
StarkMike
-
18 Years Ago
You will want to use theNavigating event of the BO. This event is...
Trent L. Taylor
-
18 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search