Shawn,

My principal problem is to avoid repeating the "grouped" column item on
every detail line on the resulting web page.  I only want it to appear on
the first line and list details below it.  Can you explain how the "group by
clause" can help with this formatting?

Thanks.

-----Original Message-----
From: Shawn Bayern [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 6:47 PM
To: Tag Libraries Users List
Subject: Re: Grouped Output


On Thu, 21 Mar 2002, Zvolensky, Thomas J {PDBI~Nutley} wrote:

> Is it possible to generate a "grouped" report using taglibs without
> resorting to using scriptlet logic to determine when the column Name
> has changed in the record set?

Why not do it in the SQL itself using a "group by" clause?  I used to
resist database logic too and attempted to do everything in my own
programs, but it's often easier to get the database to manage your data
for you.

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to