mountainbiker
Programmer
As I move down the entry elements, how can I test if I am in the final row (hightlighted below)?
[tt]<table frame="all" pgwide="1" >
<tgroup cols="2" rowsep="0" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<thead>
<row>
<entry>Column 1</entry>
<entry>Column 2</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
</row>
<row>
<entry>2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
<tgroup cols="3" rowsep="1" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
<entry>2</entry>
</row>
<row >
<entry>2</entry>
<entry rowsep="0" colsep="0">2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>2</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
</informaltable><informaltable frame="all" pgwide="1" >
<tgroup cols="2" rowsep="0" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<thead>
<row>
<entry>Column 1</entry>
<entry>Column 2</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
</row>
<row>
<entry>2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
<tgroup cols="3" rowsep="1" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
<entry>2</entry>
</row>
<row >
<entry>2</entry>
<entry>2</entry>
<entry>4</entry>
</row>
<row>[/b}
<entry>3</entry>
<entry>2</entry>
<entry>9</entry>
</row>[/b}
</tbody>
</tgroup>
</table>[/tt]
[tt]<table frame="all" pgwide="1" >
<tgroup cols="2" rowsep="0" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<thead>
<row>
<entry>Column 1</entry>
<entry>Column 2</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
</row>
<row>
<entry>2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
<tgroup cols="3" rowsep="1" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
<entry>2</entry>
</row>
<row >
<entry>2</entry>
<entry rowsep="0" colsep="0">2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>2</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
</informaltable><informaltable frame="all" pgwide="1" >
<tgroup cols="2" rowsep="0" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<thead>
<row>
<entry>Column 1</entry>
<entry>Column 2</entry>
</row>
</thead>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
</row>
<row>
<entry>2</entry>
<entry>4</entry>
</row>
<row>
<entry>3</entry>
<entry>9</entry>
</row>
</tbody>
</tgroup>
<tgroup cols="3" rowsep="1" align="center">
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<colspec colwidth="0.5in"/>
<tbody>
<row>
<entry>1</entry>
<entry>1</entry>
<entry>2</entry>
</row>
<row >
<entry>2</entry>
<entry>2</entry>
<entry>4</entry>
</row>
<row>[/b}
<entry>3</entry>
<entry>2</entry>
<entry>9</entry>
</row>[/b}
</tbody>
</tgroup>
</table>[/tt]