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 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 ;-)-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:

    
  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)
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 ;-)-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:

Multiple prices (1997) [random] only for 1-100??? (1997) IIS4 (1998) Faxing orders in place of email (1997) Calculating days, hours, minutes ago (2004) Nested vs conditional (1997) Re:2nd WebCatalog2 Feature Request (1996) [shownext] help (2002) OT - royalty free images (2002) CommandSecurity? (1997) IE Cache Problems... (1999) RE: [WebDNA] authorize.net / payeezy FirstData (2019) Summary Searches (2000) Search crashing server (1998) log files (1998) 2 easy questions re: [showif] and [sendmail] (1997) [shippingtotal] & Formulas.db prob (2003) Calendar (1997) Client-side Image Maps and WebCat? (1998) WC Database Format (1997)