Mailing List Archive

displaying more than one db row across the screen
G'Day Guys I'm new at this


I have a need to put more than the contents of a single db row across the
page on a report. I know each iteration or delivery of a row from a dtml-in
only allows me to display the contents of the that row and then moves to the
next line. I want to put the contents of two rows on the one line.
Would I do it with arrays and build the array in the dtml-in and display the
contents of the array after the /dtml-in? If so how?




John Haley
Vision Computer Systems
[P] 036424 8358
[M] 0409 973 483
The information transmitted in this email is only for the recipient referred
to in this email and may contain confidential and/or privileged material. If
you are not the intended recipient (or responsible for delivery of the
message to such person), you may not copy or deliver this message to anyone.
In such case any review, retransmission, dissemination or other use of, or
taking of any action intended recipient is prohibited. If you received this
in error, please contact the sender and delete the material from the
computer.

Opinions, conclusions and other information in this message that do not
relate to the official business of Vision Computer Systems shall be
understood as neither given nor endorsed by it.
Re: displaying more than one db row across the screen [ In reply to ]
--On 19. August 2005 12:45:13 +1000 John Haley
<johnhaley@atrium-online.com.au> wrote:

> G'Day Guys I'm new at this
>
>
> I have a need to put more than the contents of a single db row across the
> page on a report. I know each iteration or delivery of a row from a
> dtml-in only allows me to display the contents of the that row and then
> moves to the next line. I want to put the contents of two rows on the one
> line. Would I do it with arrays and build the array in the dtml-in and
> display the contents of the array after the /dtml-in? If so how?

Prepare your data to be displayed outside DTML inside a Python Script the
way you need it. PythonScripts give you more choices than DTML. Then use
the standard DTML-in to display your prepared data from the PythonScript.

-aj