Hi,
You should have a look at the the attributes startrow="" and
maxrows="" of the output tag.
Based on the Rowcount attribute of the query you can output
the first half or the second half of the query result with it (or
divide it into more areas if necessary).
From a design perspective is your goal not ideal for most
applications.
The reason why people usually implement a 1ToN interface like
you are planning is because you have a huge result set (as example
1000s of users). In this case you would with your approach always
render the HTML for 1000 altough the webuser would only look at a
small portion of it. In this case it would be far better to only
render the HTML for the accounts the user wants to see right now
(again using startrow / maxrows), and really create a new page for
the next / previous set of accounts. This way you only have to
render a small HTML page, that gets returned to the user faster,
and makes him happier.
(If you really only have a small number of records your
approach would work though, but since you are still learning I
though to mention it ;-)
Cheers,
fober