You don't need #languages.Abrev# just #Abrev#
-Mark :o)
----- Original Message -----
From: Michael Gagnon <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 5:07 PM
Subject: What's wrong with this script?
> Hi!
>
> I can't see what's wrong with this script. I use the same thing
> on another page and it works fine. It gives me the same answers
> on each row (the answers for the 1st row).
>
> <CFOUTPUT query="table">
> <cfset ID = evaluate("#FORM.hid#ID")>
> <tr>
> <td class="txt9yellow">#ID#</td>
>
> <cfloop query="languages">
> <cfset txt = evaluate("table.#FORM.hlang##Languages.Abrev#")>
> <td class="txt9yellow">#txt#</td>
> </cfloop>
> </tr>
> </cfoutput>
>
>
>
>
> Here's the one that works:
>
> <CFOUTPUT query="sectors">
> <CFFORM method="POST" action="sectors_submit.cfm?lang=#URL.lang#">
> <input type="Hidden" name="ID" value="#FORM.ID#">
>
> <cfloop query="languages">
> <cfset Val = evaluate("sectors.Sector#languages.abrev#")>
> <tr>
> <td class="txt9blue">#Data.a3##Abrev#</td>
> <td class="txt9yellow"><input type="Text" name="Sector#Abrev#"
> value="#Val#" size="50" maxlength="100"></td>
> </tr>
> </cfloop>
> </CFFORM>
> </cfoutput>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.