nerdexam
IBM

LOT-410 · Question #115

Helen is using a Repeat control to add a row to a table for each view entry in a Domino View data source. When she tests her code she sees 10 tables and not one table with 10 rows. How could she…

The correct answer is D. Take the Table Header row and Footer row lines of source code and move them outside of the repeat control. See the full explanation below for the reasoning.

Question

Helen is using a Repeat control to add a row to a table for each view entry in a Domino View data source. When she tests her code she sees 10 tables and not one table with 10 rows. How could she correct this?

Options

  • AIn the Output section select the "Create as a Table" option and individually add the fields to be displayed.
  • BUse the ignoreTableHeader property of the repeat control to suppress the creation of multiple tables.
  • CChange the number of rows to be displayed from 100 to 10 and that will create only one table with 10 rows.
  • DTake the Table Header row and Footer row lines of source code and move them outside of the repeat control.

How the community answered

(34 responses)
  • A
    12% (4)
  • B
    3% (1)
  • C
    6% (2)
  • D
    79% (27)

Community Discussion

No community discussion yet for this question.

Full LOT-410 Practice