MM Michael,

Okay then have you tried reseting the var "txt" to a null string at the end
of your inner loop?

Comme ça?

<CFOUTPUT query="table">
   <cfset ID = evaluate("#FORM.hid#ID")>
   <tr>
      <td class="txt9yellow">#ID#</td>
      <cfloop query="languages">
          <cfset txt = evaluate("table.#FORM.hlang##Abrev#")>
          <td class="txt9yellow">#txt#</td>
            <cfset txt = "">    
      </cfloop>
   </tr>
</cfoutput>

BB,
--K

> -----Original Message-----
> From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 25, 2000 5:29 PM
> To: CF-Talk
> Subject: Re: What's wrong with this script?
> 
> 
> Same results.  I get the following:
> 
> (ID Français English Español)
> 1 Producteur Producer Productor
> 2 Producteur Producer Productor
> 3 Producteur Producer Productor
> 
> I should get:
> 
> (ID   Français   English   Español)
> 1  Producteur   Producer   Productor
> 2  Commercialisation   Marketing   Comercialización
> 3  Sous-traitant   Subcontractor
> 
> Thanks!
> 
> ----- Original Message -----
> From: "Chapman, Katrina" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, September 25, 2000 9:16 PM
> Subject: RE: What's wrong with this script?
> 
> 
> > You need to remove the languages.
> >
> > Try This
> >
> > <CFOUTPUT query="table">
> >    <cfset ID = evaluate("#FORM.hid#ID")>
> >    <tr>
> >       <td class="txt9yellow">#ID#</td>
> >
> >       <cfloop query="languages">
> >           <cfset txt = evaluate("table.#FORM.hlang##Abrev#")>
> >           <td class="txt9yellow">#txt#</td>
> >       </cfloop>
> >    </tr>
> > </cfoutput>
> >
> >
> > > -----Original Message-----
> > > From: Michael Gagnon [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 25, 2000 5:07 PM
> > > To: CF-Talk
> > > 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/cf-talk@houseoffusion.com/
> > > To Unsubscribe visit
> > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
> > s/cf_talk or send a message to 
> [EMAIL PROTECTED] with
> > 'unsubscribe' in the body.
> > 
> --------------------------------------------------------------
> ------------
> ----
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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/cf-talk@houseoffusion.com/
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.

Reply via email to