Not being an expert on EVAL, I would put all the IF THEN ELSE etc into a dictionary item. Would that be simpler?
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owner-u2- > [EMAIL PROTECTED] On Behalf Of rbl000 > Sent: Wednesday, 26 October 2005 3:51 AM > To: u2-users@listserver.u2ug.org > Subject: RE: [U2] NESTING EVAL > > You don't nest EVAL's, you nest IF's. I would rewrite your expression for > clarity this way: > > LIST CS.2005 TOTAL EVAL "IF (H.CS.NEXT.CLASS NE Y) THEN 0 ELSE > IF(H.HCG.AWARDED.ALL > 0) THEN 1 ELSE 0" > > Or perhaps: > > LIST CS.2005 TOTAL EVAL "IF (H.CS.NEXT.CLASS = Y) * (H.HCG.AWARDED.ALL > > 0) THEN 1 ELSE 0" > > Richard Lewis > IBM Certified Solutions Expert -- U2 Family Application Development > > > > --- On Tue 10/25, Kevin Michaelsen < [EMAIL PROTECTED] > wrote: > From: Kevin Michaelsen [mailto: [EMAIL PROTECTED] > To: u2-users@listserver.u2ug.org > Date: Tue, 25 Oct 2005 11:00:58 -0400 > Subject: [U2] NESTING EVAL > > Can I nest when using the EVAL command. Here is my statement that doesn't > work. Do I need to put extra quotes somewhere or do I need to put brackets > somewhere or is it not possible?LIST CS.2005 TOTAL EVAL "IF > (H.CS.NEXT.CLASS = Y) THEN EVAL "IF(H.HCG.AWARDED.ALL > 0) THEN 1 ELSE 0" > ELSE 0 "Any help would be appreciated.KevinKevin MichaelsenAssociate > Director of Financial Aid198 College Hill RoadHamilton CollegeClinton, NY > 13323telephone (315) 859-4434 (800) 859-4413fax (315) 859- > 4457 -------u2-users mailing [EMAIL PROTECTED] > unsubscribe please visit http://listserver.u2ug.org/ > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/