Why not just check the ArrayLen() of the array? and if it's 36, or 44? Or is it a sparsely populated array?
If that is the case - take a gander over to www.cflib.org there is an array function in there that will test if the array element is empty or not. HTH Mark ------------------------------------------------------------------ [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [ www.safefrombees.com ] Quoting PETCOL <[EMAIL PROTECTED]>: > Hi People, > > I have an array that is dynamically populated. > > Some times there's up to 44 elements in it, others only 36. > > I'm stuct determining when an element doesn't exist, and then not to try and > output it. > > I've tried > <cfif IsDefined(nswArray[37]) AND nswArray[37] NEQ ""> > #nswArray[37]# > </cfif> > > That failed > > Suggestions please, the brain will not go into gear this morning. > > petcol > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
