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:
More NT encyption!! (1999)
updating a series of records via a text file? (1999)
quantity minimum problem (1997)
Deleting Orders (1997)
search command (1999)
calender with business days (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
WebCat2 - [include] tags (1997)
japanese characters (1997)
Show shoppingcart after remove last item (1997)
database size? (1997)
Not reading code (1997)
Need relative path explanation (1997)
search results through frames (2000)
WebCat/CyberStudio Compatibility (1998)
OT - Mail Solution (2002)
RE: combining strings (1997)
WebCat2 - many [carts] on one template page? (1997)
[WebDNA] Wishlist: ignore whitespace in database changes (2016)
Help name our technology! I found it (1997)