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:

[OT] Xserve (2002) Is there an alternative to emailer? (1999) Associative lookup style? + bit more (1997) Validation (2000) Re:ListFields and [name] (1997) Re:2nd WebCatalog2 Feature Request (1996) MATH TIME (1997) Will there be a PPC Linux version? (2000) WebCat editing, SiteGuard & SiteEdit (1997) Authorize.net, SIM, tcpconnect and applescript (2003) One more try (1997) WebCatalog/WebMerchant 2.1 (1998) auto enter dates (1998) NT b19 sends extra MIME headers (1997) Running 2 two WebCatalog.acgi's (1996) Separate SSL Server (1997) [Announce]: Web server security and password protection (1997) Problem with listfields with WC 4.0.2rc2/Webstar 4.4 (2001) Cart Numbers (1997) searchable list archive (1997)