You could always use qHDMNames.RecordCount and compare that to i so you know whether you are out of bounds or not.
> Either way, I need to use different code. I need to do a check on the > variable before outputting it. I've tried > > IsDefined("qHDMNames.Name[#i#]") > > and various uses of DE within it but I cannot seem to get it > right. Does > anyone have any ideas on this? I'm close to using > cftry/cfcatch but that's > gonna make for messy code. > > Cheers for your help so far. -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]