Re: founditems and setheader

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33128
interpreted = N
texte = thanks for clarifying!WebDNA Support wrote:> >Hey now! I'm getting myself all tangled here. I have a customer.db > >which I need to read and put the data into a cart. Should I make > >sure the field names are different than the standard card header > >names? > > > >This looks weird to me: > > > >[search db=customers.db&eqUserdata=[username]] > >[founditems] > > [setheader > >db=prdoucts.db&cart=[cart]]name=[name]&company=[company]&etc.][/sethea > >der] > >[/founditems] > > Shouldn't be a problem the way you've arranged it. WebDNA always > looks from 'inside' the closest context for values, so when it sees > [company] it climbs out the nesting until it bumps into [founditems], > which is the first context that 'knows' a value for [company]. > > See http://www.smithmicro.com/webcatreference/Contexts.html > > Technical Support ********************************** > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > 16855 West Bernardo Drive, #380 | ------------------------- > San Diego, CA 92127 | Software & Site Development > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** ------------------------------------------------------------- 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: founditems and setheader (Michael Rosen 2000)
  2. Re: founditems and setheader (John Butler 2000)
  3. Re: founditems and setheader (Michael A. Rosen 2000)
  4. Re: founditems and setheader (John Butler 2000)
  5. Re: founditems and setheader (WebDNA Support 2000)
  6. Re: founditems and setheader (John Butler 2000)
  7. founditems and setheader (Michael Rosen 2000)
thanks for clarifying!WebDNA Support wrote:> >Hey now! I'm getting myself all tangled here. I have a customer.db > >which I need to read and put the data into a cart. Should I make > >sure the field names are different than the standard card header > >names? > > > >This looks weird to me: > > > >[search db=customers.db&eqUserdata=[username]] > >[founditems] > > [setheader > >db=prdoucts.db&cart=[cart]]name=[name]&company=[company]&etc.][/sethea > >der] > >[/founditems] > > Shouldn't be a problem the way you've arranged it. WebDNA always > looks from 'inside' the closest context for values, so when it sees > [company] it climbs out the nesting until it bumps into [founditems], > which is the first context that 'knows' a value for [company]. > > See http://www.smithmicro.com/webcatreference/Contexts.html > > Technical Support ********************************** > Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) > 16855 West Bernardo Drive, #380 | ------------------------- > San Diego, CA 92127 | Software & Site Development > WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com > Fax: (858) 675-0372 ********************************** ------------------------------------------------------------- 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/ John Butler

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:

[AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Configuration for WebDNA (2006) Formating found categories (1997) [WebDNA] Ajax, JS and WebDNA - A joint toturial ;-) (2010) requiredfields (2002) Smith Micro - no competition (2000) Cannot calculate prices (1997) webcat- multiple selection in input field (1997) Web Browser %Numbers - A must read for web developers (2003) f2 download problems (1997) Counting records (2000) Roundup function? (1997) Hosts who have upgraded to v5.0? (2003) Dummy Credit Card Number for debug? (1997) Is this possible, WebCat2.0 and checkboxes (1997) path hierarchy notation (1998) line endings for Mac OS X files? (2003) Help name our technology! (1997) Another question about credit cards (1997) [WebDNA] possible bug? (db field named [width]) (2012)