cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ram3
Microsoft
Microsoft

Append comment from one screen to another

Hello, I have 5 screens built into my app.
I have created a comment box in each screen to capture a log for everytime when someone modifies the form. I'm also trying to append all these comments into the comment log in the main screen.
So far, I was able to achieve appending comments from only one screen and I'm struggling to work with all the screens...Has anyone worked on this kind of scenario? Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Ram3 ,

Do you want to combine data from multiple comment boxes in different screens to one main html box?

Actually, you could use data of multiple comment boxes from different screens directly in the main screen.

Just try Concatenate() function.

For example:

set the main html box's HtmlText:

Concatenate(RichTextEditor1.HtmlText,RichTextEditor2.HtmlText,....)

Maybe your data is more complex, you could try:

Concatenate(If(Not(IsBlank(RichTextComments1.HtmlText)), User().FullName & " " & Now() & " " & RichTextComments1.HtmlText & Char(13)) ,
            If(Not(IsBlank(RichTextComments2.HtmlText)), User().FullName & " " & Now() & " " & RichTextComments2.HtmlText & Char(13)) ,
            ....,
            ThisItem.Comment
            )

If the solution that I post is not what you want, I suggest you describe with screenshoots in details.

I think I need to know more about what data that you want in the main html textbox.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
eka24
Super User III
Super User III

If the idea is to consolidate the the comments texboxes into one on main screen the I suggest :
1. Set a variable for each textbox Set(Comment1,Textbox1.Text)
Set(Comment2,Textbox2.Text)

2. On main screen textbox, Concatenate(Comment1," ",comment2)

It is a bit complicated than that.

If(Not(IsBlank(RichTextComments.HtmlText)), User().FullName & " " & Now() & " " & RichTextComments.HtmlText & Char(13)) & ThisItem.Comment

 

I'm using the above formula to concatenate the comments from RichTextComments into html box. Now, the question is I have other richtext comment boxes across other screens and I've to bring them into the main html box. Also, there might not be a necessity for comments in all the screens, there can be a comment in only one of them. 

 

I've used this video if this adds any value.

https://www.youtube.com/watch?v=hzLEecSpmFo

Hi @Ram3 ,

Do you want to combine data from multiple comment boxes in different screens to one main html box?

Actually, you could use data of multiple comment boxes from different screens directly in the main screen.

Just try Concatenate() function.

For example:

set the main html box's HtmlText:

Concatenate(RichTextEditor1.HtmlText,RichTextEditor2.HtmlText,....)

Maybe your data is more complex, you could try:

Concatenate(If(Not(IsBlank(RichTextComments1.HtmlText)), User().FullName & " " & Now() & " " & RichTextComments1.HtmlText & Char(13)) ,
            If(Not(IsBlank(RichTextComments2.HtmlText)), User().FullName & " " & Now() & " " & RichTextComments2.HtmlText & Char(13)) ,
            ....,
            ThisItem.Comment
            )

If the solution that I post is not what you want, I suggest you describe with screenshoots in details.

I think I need to know more about what data that you want in the main html textbox.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (75,281)