Re: programatically examine columns in a row

2001-09-17 Thread Christian Haul
On 17.Sep.2001 -- 06:43 PM, Chris Newland wrote: > Hi All, > > I'm looking for a generic way to examine the columns in a row retrieved using esql: > > > > int cols = ; > String colname; > > > > > for (int i = 0; i < co

Re: programatically examine columns in a row

2001-09-17 Thread Chris Newland
Hi Klaus Realised this is not sensible thing to do so I passed the whole result set to the stylesheet and used XSL to filter the output. Thanks for the suggestion, Chris On Monday 17 September 2001 19:06, Chris Newland wrote: > Hi Klaus, > > Sorry, I should have explained it better. I want t

Re: programatically examine columns in a row

2001-09-17 Thread Chris Newland
Hi Klaus, Sorry, I should have explained it better. I want to examine the column values and only produce XML for column names that have a certain value. Each row in my table has columns of type bool and I want to only display the names of columns where the value is 1 (true). Do you know of a

RE: programatically examine columns in a row

2001-09-17 Thread Klaus Bertram
Hi Chris, try it with like these the result in xsp is like these: valuevalue... at your xsl you can separate it for colname and value Klaus > -Original Message- > From: Chris Newland [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 17, 2001 8:43 PM > To: [EMAIL PROTE