Re: founditems and setheader
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33130
interpreted = N
texte = Point well taken. I'm really only grabbing the customer info at the very beginning of the process so it probably-possibly-maybe won't be a problem. But since my client has the tendency to constantly want to tweak things, I'd better change the field names now so I won't have to declare tons of page variables later. Thanks.Michael>I *think* you will only have trouble if you have the below code >inside an implicit or>explicit order file context... which would cause for example the >value of [name] to>come 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, you>might be later... so people generally shy away from naming fields >after webcat cart>headers. If you avoid them then you don't have to think about it >any more ;-)>>-John>>Michael 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:
Point well taken. I'm really only grabbing the customer info at the very beginning of the process so it probably-possibly-maybe won't be a problem. But since my client has the tendency to constantly want to tweak things, I'd better change the field names now so I won't have to declare tons of page variables later. Thanks.Michael>I *think* you will only have trouble if you have the below code >inside an implicit or>explicit order file context... which would cause for example the >value of [name] to>come 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, you>might be later... so people generally shy away from naming fields >after webcat cart>headers. If you avoid them then you don't have to think about it >any more ;-)>>-John>>Michael 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/
Michael A. Rosen
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:
How would you sort this? (2000)
Error 11 (1996)
Webcatalog 4.02b5 Mac OS X headers (2000)
Bugs still *not* fixed as promised ... (2000)
New public beta available (1997)
WebCatalog can't find database (1997)
[WebDNA] Lookup vs. Search (2009)
Security problems (2000)
Checkboxes (1998)
WebCatalog for Postcards ? (1997)
[shownext] and descending order (1997)
RE: [taxRate] [TaxTotal] ? (1997)
Sendmail Context (2003)
WebDNA Solutions ... (1997)
Filemaker Pro & Webcatalog (1999)
videos.. yak..yak-lets take collection (1998)
WebCommerce: Folder organization ? (1997)
[isfile] ? (1997)
WebCat B13 Mac CGI -- Frames question (1997)
Purchased cart being overwritten - still !?? (1997)