James - try the evaluate function for a quick solution
On 01/11/06, James O'Dowd <[EMAIL PROTECTED]> wrote: > > I'm setting up a website where customers of my client see specific > documents that my client allows permissions to. This way the client needs to > be able to create and rename fields. > > Consequently, when it comes to displaying contents of a recordset, i need > to be able to list the fields dynamically. > > I need the code below: > > <cfif (#Recordset1.client_ongoingcontracts# EQ 1)>checked="checked"</cfif> > > to work like this: > > <cfif (#Recordset1.client_(directories.Name)# EQ > 1)>checked="checked"</cfif> > > directories.Name is the variable pulling in from a cfdirectory listing. > > Any help would be greatly appreciated. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4