Hi, I would like to ask is that any way that I can transfer all the data from the list view to a rich text box? I could successfully transfer the latest row but not the entire list view row.
After pressing the Click button
Thank you.
Hi, I would like to ask is that any way that I can transfer all the data from the list view to a rich text box? I could successfully transfer the latest row but not the entire list view row.
After pressing the Click button
Thank you.
One possible implementation is to add another data label 'details concatenated' for example, then add a rule that:
when the {Details Rich Text} is changed
transfer data to {details concatenated} with settings '{Details Rich Text}; {details concatenated}'
then you can use the {details concatenated} at the end, where its values may look like:
testing of testing2; testing3 of testing4, testing 5 or testing6
Or if this is SQL service instance, perhaps a stored procedure can do the aggregation for you and return the desired string.
I would recommend that you do a "for each item" loop when the button is clicked and, for each iteration, do a data transfer that concatenates the current iteration value with the rich text box value. let me know if that makes any sense at all, I can elaborate further if not.
I will try to elaborate - so when the buttons is clicked, add a “For Each Item in a List View” condition. Underneath that condition, put a data transfer. Within that data transfer, you would drag into your text control first the value that is currently in the text control and then the value from the current context of your loop. The context of your loop will be on the right hand side of the data transfer screen and look like a SmartObject (a green square). In my attached screenshot, the list is called “Comments” and I’m concatenating the Comment text into a Comment Data Label. Please let me know if this helps.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.