Got code vaguely like this (assume that this is a gross simplification of
the reality):

<cfoutput query="getData">
     <cfloop query="getMetaData">
          #Evaluate("getData." & getMetaData.Fieldname)#
     </cfloop>
</cfoutput>


which doesn't work, due to that lovely bug with nested cfoutput/cfloops.
The normal solution would be to just copy all the variables from the outer
loop/query into local variables, which then get referenced in the inner
loop.  However that doesn't scale very well when you maybe don't even know
what the fieldnames are.

Any suggestions on how to resolve this?  Turning the outer loop into a
cfloop instead of a cfoutput makes no difference.  Is there another way of
nesting these two loops that might suffice?


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


-- 
** 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]

Reply via email to