cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ads23421
Frequent Visitor

Creating HTML table in a particular format

I am trying to create an HTML view of my collection so that I can send it to print using a flow. Having trouble with the exact html i need. I suspect I need some kind of nested table.

Here is what I want:

Section A: Questions
Subsection 1: Academic Standards

1a Are the standards set appropriate?           |            Yes

1b Any other comments                                |             No comments right now

 

Subsection 2: [subsection name]

[question]     |      [answer]

 

Section B: [Section name]

etc etc

I have the following:

 

Ads23421_0-1664437827484.png

 

I basically dont want the section name and subsection name to repeat for every question/answer pair:

 

This is the code I have so far:

 

<font size='4' face='Segoe UI'>
<table style='width:100%'>"
& Concat(colQuestionAnswer, "
<tr>
<td> Section: " & SectionName & "</td></tr>
<tr>
<td> Subsection: " & SubsectionName & "</td>
<td><tr><td>" & Question & "</td><td>" & Answer & "</td></tr></td>
</tr>") &
"</table>
</Font>
<br><br>

 

Thanks in advance for any tips or nudges in the right direction

 

 

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,583)