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:

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

WCS Newbie question (1997) WebCatalog for Mac 2.0.1 Released (1997) How can I Add several Items into the cart at once? (1997) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) There's a bug in the math context ... (1997) Sorry WebDNA server not running (2002) [WebDNA] WebDNA Driven Forum (2009) My server admin needs help ... (2004) [WebDNA] agree? --> [url] broken inside [redirect], on a (2009) RAM variables (1997) more on quicktime test stuff (1997) Re:Has this happened to you? (was:Emailer Chokes on bad address) (1997) emailer (1997) [WebDNA] Filtering exact numbers (2008) Closing Databases (1998) WebCat Stuff (2001) please unsubscribe me! (2000) W* V4.2 SSL and webcat very slow (2000) sort problems....bug or brain fart? (1997) The List is Changing (1997)