web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

To save the comments in field with curuser name and date and time

(0) ShareShare
ReportReport
Posted on by 1,836
 hi,
i have a comment box on my form which i kept memo field , now when i put my comment there it should get save with current user name and date and time , and it is not editable to another user and the next user will put his comment below that which will be also get save with user name ,date and time and it will continue like this , and any user cannot edit previous comment but can read who commented previously with comments and their name and date and time , 
it should appar like
/user comment / - name - date and time,
/user comment / - name - date and time,
/user comment / - name - date and time,
and so onn 
please guide me on this , 
thanks , 
Diensh
I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at
    By coincidence, I already provided a solution in your other thread: To add comments in fields with comma seprator.
     
    Your data model doesn't meet your requirements, therefore you need to change the data model. Instead of putting multiple values to a single field (and violating database normalization rules), create a separate table for the comments (with 1:n relation to the main table). Then enable CreatedBy and CreatedDateTime properties on the comments table to automatically collects the metadata.
  • Dineshkarlekar Profile Picture
    1,836 on at
    hi , martin 
    Thanks for reply , created date and time property and created property is set to yes 
    i have added grid to form ,  i have added user name and date and time field to table .
  • Dineshkarlekar Profile Picture
    1,836 on at
    here is my table relation details , plz let me know what i have to do here to get the user name and date and time with comments after saving .

    thanks, DINESH 
  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at
    You shouldn't do anything on any relation. What fields a table has is defined by the table itself, not by relations from other tables.
  • Dineshkarlekar Profile Picture
    1,836 on at
    hi, 
    I have restore the datasource on form , now i am getting two fields , created by and created date and time ,  now need to make the row not editable to after saving . when new line is added all the previous line must be non editable only new line is editable , can you please guide me on this To add comments in fields with comma seprator. 
    thanks , regards ,
    Dinesh  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans