> The values I am checking are int Datatypes, > > this is exactly what I'm doing > > <CFIF checkDay EQ day(q_createRecordSet.dt)> > <CFIF q_createRecordSet.INFLOW NEQ ""> > > <CFSET mnInf=rtrim(q_createRecordSet.INFLOW)> > <CFSET mnInfDt=q_createRecordSet.dt> > <CFIF rtrim(q_createRecordSet.INFLOW) LT mnInf> > <CFSET mnInf=q_createRecordSet.INFLOW> > <CFSET mnInfDt=q_createRecordSet.dt> > </CFIF> > </CFIF> > </CFIF>
Are you sure that rtrim(q_createRecordSet.INFLOW) is numeric? You might want to wrap it in Val() and see what happens. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

