Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8740003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:03:13+00:00 2026-06-13T11:03:13+00:00

I have a search screen which lists all customers. User can edit a few

  • 0

I have a search screen which lists all customers. User can edit a few fields (Phone number, address, etc.).

On saving of that “particular” record (only the changed ones), I want to update the ModifiedBy and ModifiedOn fields. How can I do so in code?

I am trying to handle this in the _Saving event of Search Screen but how do I get the changed rows?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:03:14+00:00Added an answer on June 13, 2026 at 11:03 am

    Go into the table’s Entity Designer and click the arrow next to Write Code. You’ll need to edit two methods, _Updating and _Inserting. Similar to this:

    C#:

    partial void TableName_Updating(TableName entity)
    {
        entity.ModifiedBy = this.Application.User.FullName;
        entity.ModifiedOn = DateTime.Now;
    }
    
    partial void TableName_Inserting(TableName entity)
    {
        entity.ModifiedBy = this.Application.User.FullName;
        entity.ModifiedOn = DateTime.Now;
    }
    

    VB.NET:

    Private Partial Sub TableName_Updating(entity As TableName)
        entity.ModifiedBy = Me.Application.User.FullName
        entity.ModifiedOn = DateTime.Now
    End Sub
    
    Private Partial Sub TableName_Inserting(entity As TableName)
        entity.ModifiedBy = Me.Application.User.FullName
        entity.ModifiedOn = DateTime.Now
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have search screen which has 10 fields and involves around 5 to 6
I have a lookup screen with 25 fields. When the user clicks the search
I have an asp.net search screen which displays the results in a new browser
I have a .net application which includes search screen which has a panel with
In my application i have a search page where the user can search on
I'm working on an search screen, where the user can pick several options and
I have a search screen in my WPF application. The screen is implemented as
I have a search results screen and in the results payload supplied I get
I have an ASP.NET page that contains two div's. Both have search fields and
I am developing a screen in c# dot net where i have a search

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.