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:

faxing orders (2000) Sitebuilder (2004) Bad suffix error (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) WebCat2 - Getting to the browser's username/password data (1997) Summing fields (1997) $purchase WITHOUT creditcar (1997) WebCat2b13 Command Reference Doc error (1997) calculating tax rates, mail order solutions and version 2 (1997) My web page only... (2003) [Shell script] question. (2004) Country & Ship-to address & other fields ? (1997) Nesting [RAW] (1998) Further tests with the infamous shipCost (1997) a search based on ^(contains) (1998) [Sum] function? (1997) [searchString] (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Not really WebCat (1997) FW: WebCat Contest (1998)