Re: Setting a text Var inside an orderfile

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42998
interpreted = N
texte = Yep, that did it. I set the passedindex outside the orderfile and it worked.[formvariables name=set_&exact=F] [text]passedindex=[getchars start=5][name][/getchars][/text] [orderfile cart=[cart]] [lineitems] [showif [lineindex]=[passedindex]]Man, sometimes these little things take up a lot of time. ;-)Donovan Donovan wrote:> Well, could [name] (meant to be the name of the variable (which is > Set_[lineindex])) > be getting confused with [name] in the orderfile? > > I'm trying to pass an index of lineitems to this code..alla.passedindex. > If it equals the [lineindex] in this lineitems loop I want to grab the TEXTD and C > fields and set them to ProdID and INVID. > Donovan > > John Peacock wrote: > > > Donovan wrote: > > > [text]passedindex=[getchars start=5][name][/getchars][/text] > > > [showif [lineindex]=[passedindex]] > > > [text]ProdID=[TEXTD][/text] > > > [text]INVID=[TEXTC][/text] > > > [/showif] > > > > > > I've checked that [passedindex] gets passed o.k. > > > > > > any ideas? >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Setting a text Var inside an orderfile (Brian Fries 2002)
  2. Re: Setting a text Var inside an orderfile (Donovan 2002)
  3. Re: Setting a text Var inside an orderfile (Donovan 2002)
  4. Re: Setting a text Var inside an orderfile (John Peacock 2002)
  5. Setting a text Var inside an orderfile (Donovan 2002)
Yep, that did it. I set the passedindex outside the orderfile and it worked.[formvariables name=set_&exact=F] [text]passedindex=[getchars start=5][name][/getchars][/text] [orderfile cart=[cart]] [lineitems] [showif [lineindex]=[passedindex]]Man, sometimes these little things take up a lot of time. ;-)Donovan Donovan wrote:> Well, could [name] (meant to be the name of the variable (which is > Set_[lineindex])) > be getting confused with [name] in the orderfile? > > I'm trying to pass an index of lineitems to this code..alla.passedindex. > If it equals the [lineindex] in this lineitems loop I want to grab the TEXTD and C > fields and set them to ProdID and INVID. > Donovan > > John Peacock wrote: > > > Donovan wrote: > > > [text]passedindex=[getchars start=5][name][/getchars][/text] > > > [showif [lineindex]=[passedindex]] > > > [text]ProdID=[TEXTD][/text] > > > [text]INVID=[TEXTC][/text] > > > [/showif] > > > > > > I've checked that [passedindex] gets passed o.k. > > > > > > any ideas? >-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ ------------------------------------------------------------------------ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Donovan

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Bug Report, maybe (1997) WebDNA Server Not Running (2005) [SearchString] problem with [search] context (1997) Emailer (WebCat2) (1997) Claris HomePage messes up the code (1997) Shopping cart not being assigned (1999) Sorting by date (1997) Classified Ads 4 Sale (1998) [WebDNA] Crashing Database (2011) Likelihood of a duplicate (2005) Three new problems, maybe a fourth (1997) Freeze (2003) More on the email templates (1997) Revisit: speed test (2002) Running _every_ page through WebCat ? (1997) Type 11 errors setting up WebCAt 2 (1997) Great product and great job ! (1997) redirect with frames (1997) Dumb Question about Docs (1997) [taxRate] [TaxTotal] ? (1997)