Re: founditems and setheader
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33127
interpreted = N
texte = >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.htmlTechnical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog 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:
>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.htmlTechnical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog 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/
WebDNA Support
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:
RE: Formulas.db + Users.db (1997)
RE: CloseDatabase (1997)
Initiating NewCart (1997)
WebCat2b12 - nesting [tags] (1997)
Major bug report on rootbeer (1997)
Sort order (1998)
expire headers in mac305b11 (1999)
WebCat2 - [format thousands] (1997)
Sorry WebCat server not running (2001)
Bug? (1997)
replacing founditems ... (2002)
Developer Edition (2004)
Add a field to the error log? (1997)
syntax question, not in online refernce (1997)
Repeating Fields (1997)
Re requiredFields parameter (1998)
Web Delivery First Time Setup Trouble (2000)
Sendmail problem (2002)
Speed Admin? (Was FlushDatabases) (1997)
Dark Horse Comics success story (1997)