I am having custom field on my form , i want to add comments after previous comments with comma seprator , how can i get this done can anyone help me on this .
i set the allow edit property to no but this make grid uneditable when i add new line , when i create new line grid should be editable ,it only should be uneditable for previous comments .
Martin Dráb230,445Most Valuable Professional
on at
Let's keep the question of user name and time in the thread you've created for it (To save the comments in field with curuser name and date and time). Note that I already gave you the answer (using CreatedBy and CreatedDateTime properties) there last week. If you have questions about it, ask them there.
The way how you can prevent editing of saved records is setting AllowEdit property of the form data source to No.
i have created new table , added comments , user name and date and time field add created new grid on form which is having relation to header table , now plz can you guide me how can i get comments uneditable after saving and pass current user name date and time when ever someone save comment .
Have a separate table for comments. When a user adds a new comment, you'll simply add a new record. This allows you to track other information, such as who added the comment and when. (Of course, I can't know whether this would be useful for your business scenarios or not). Another benefit is that you won't bloat up size of the original record and you may even get rid of the memo field and support filtering.
When/if needed, you can concatenate the comments and show them to use a user together.
Simply let users to edit the comment field.
Give users a dialog (e.g. a drop dialog) to add a comment (instead of editing the field directly) and add attach the new comment to existing comments in code.
Just so that I understand. So the new user will open the form and will see the comment of the previous user? And you don't want the user to delete the previous comment? But just add to it?
Are we talking about 1 field or 2 fields?
Also can you please update us and verify answers if the link/answers we provided here helped you in creating the dialog and uploading the file?
https://community.dynamics.com/forums/thread/details/?threadid=30cbd07b-2873-ee11-9ae7-00224827e8f9
comment field is memo field on custom table, which is displayed on custom form
when ever the user add the entries in form , he will fill comments . so every time someone will be adding the comments so i want it to after adding any record in form , so i want previous comments , and new comments with comma seperator .
can you plz guide me which table method i should use .
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.