Re: founditems and setheader
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33124
interpreted = N
texte = I *think* you will only have trouble if you have the below code inside an implicit orexplicit order file context... which would cause for example the value of [name] tocome from the current orderfile context (if there is one) rather than from your db[founditems] context. But even if you are not in such an orderfile context now, youmight be later... so people generally shy away from naming fields after webcat cartheaders. If you avoid them then you don't have to think about it any more ;-)-JohnMichael Rosen 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]>> Is there going to be some conflict here or am I just making this more> complicated than it is?> Michael A Rosen> miker@linqdesigns.com>-------------------------------------------------------------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:
I *think* you will only have trouble if you have the below code inside an implicit orexplicit order file context... which would cause for example the value of [name] tocome from the current orderfile context (if there is one) rather than from your db[founditems] context. But even if you are not in such an orderfile context now, youmight be later... so people generally shy away from naming fields after webcat cartheaders. If you avoid them then you don't have to think about it any more ;-)-JohnMichael Rosen 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]>> Is there going to be some conflict here or am I just making this more> complicated than it is?> Michael A Rosen> miker@linqdesigns.com>-------------------------------------------------------------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:
[/application] error? (1997)
Converting Esiting Html Table Forms to WebCat (1997)
[WebDNA] Generating Excel File Via WebDNA (2010)
Formulas.db + Users.db (1997)
SSL (1998)
WC2.0 Memory Requirements (1997)
RAM problems, [appendfile] problems (1998)
possible, WebCat2.0 and checkboxes-restated (1997)
error -108 (1997)
Price + Texte (1999)
ShipCost and TaxRate problems (1998)
Help! WebCat2 bug (1997)
t or f (1997)
OSX (2003)
[WebDNA] [WSC] WebDNA Development Summit (2014)
Add a field to the error log? (1997)
osx or redhat and / or other (2005)
Multiple Pulldowns (1997)
Secure server question (1997)
simple answer? [hideif] (1997)