Jump to content

[FP5] Diplaying repeating fields in a table.


This topic is 7293 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello all,

I'm stuck on tring to display repeating field information on a weh page in a table format. Any one have any suggestion? I know how to display just one fields info with the [FMP-Field: field name] tag, but it won't display in a table format so each repeated fields info is in it's own row/cell.

Anyone have any clues?

Thanks,

Jaser

FileMaker Version: 5

Platform: Windows XP

Link to comment
Share on other sites

Thanks for the info I can use that for one of my fields but I have a few repeating fields in the same table which I can't get to work here's a sample.

<table cellspacing="2" cellpadding="2" border="1">

<tr>

<th>No. of Originals</th>

<th>Kind of Prints</th>

<th>No. of Copies</th>

<th>Size</th>

<th>Description of Originals</th>

<th>Billing Use Only</th>

<th>Amount Charged</th>

</tr>

[FMP-Repeating: No_of_originals]

<tr><td>[FMP-RepeatingItem]</td></tr>

[/FMP-Repeating]

<td>[fmp-field:Kind_of_Prints]</td>

<td>[fmp-field:No_of_copies]</td>

<td>[fmp-field:Size]</td>

<td>[fmp-field:description]</td>

<td>[fmp-field:billing_use_only]</td>

<td>[fmp-field:amount_charged]</td>

</table><br>

Thanks again for the help!

Link to comment
Share on other sites

Try it in each cell, or use a Table within each cell of the outer Table:

<table cellspacing="2" cellpadding="2" border="1">

<tr>

<th>No. of Originals</th>

<th>Kind of Prints</th>

<th>No. of Copies</th>

<th>Size</th>

<th>Description of Originals</th>

<th>Billing Use Only</th>

<th>Amount Charged</th>

</tr>

<tr>

<td>[FMP-Repeating: No_of_originals]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:Kind_of_Prints]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:No_of_copies]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:Size]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:description]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:billing_use_only]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

<td>[fmp-Repeating:amount_charged]

[FMP-RepeatingItem]<br>

[/FMP-Repeating]

</td>

</tr>

</table>

All the best.

Garry

Link to comment
Share on other sites

This topic is 7293 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.