Re: Orderfile Question

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53861
interpreted = N
texte = You are right about adding [url][/url] around shiptocountry as they all contain spaces. Thanks Alan on 11/6/03 2:35 PM, Donovan Brooke at dbrooke@euca.us wrote: > Mark Derrick wrote: > >>> [text]zone=[lookup >>> db=countries.db&value=[shiptocountry]&lookinfield=shiptocountry&returnf >>> ield= >>> zone][/text] >>> >>> [SetHeader cart=[cart]]header11=[zone][/SetHeader] > > I'm not sure that spaces would mess things up but it might be safer > to use [url][/url] tags here. > > [text]Zone=[lookup > db=countries.db&value=[url][__shiptocountry][/url]&lookinfield=C_SHIPTOCOUNTRY > &returnfield=C_ZONE][/text] > > [SetHeader cart=[cart]]header11=[url][Zone][/url][/SetHeader] > > (Also changing the form var and db field name (as mark suggested)... > The idea is to have variables that you can easily determine where they come > from. > I didn't change the text var "ZONE" because I changed the database field name > "ZONE" > to "C_ZONE".) > > Donovan ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Orderfile Question ( Alan White 2003)
  2. Re: Orderfile Question ( Donovan Brooke 2003)
  3. Re: Orderfile Question ( Alan White 2003)
  4. Re: Orderfile Question ( Mark Derrick 2003)
  5. Re: Orderfile Question ( Alan White 2003)
  6. Re: Orderfile Question ( Mark Derrick 2003)
  7. Orderfile Question ( Alan White 2003)
You are right about adding [url][/url] around shiptocountry as they all contain spaces. Thanks Alan on 11/6/03 2:35 PM, Donovan Brooke at dbrooke@euca.us wrote: > Mark Derrick wrote: > >>> [text]zone=[lookup >>> db=countries.db&value=[shiptocountry]&lookinfield=shiptocountry&returnf >>> ield= >>> zone][/text] >>> >>> [SetHeader cart=[cart]]header11=[zone][/SetHeader] > > I'm not sure that spaces would mess things up but it might be safer > to use [url][/url] tags here. > > [text]Zone=[lookup > db=countries.db&value=[url][__shiptocountry][/url]&lookinfield=C_SHIPTOCOUNTRY > &returnfield=C_ZONE][/text] > > [SetHeader cart=[cart]]header11=[url][Zone][/url][/SetHeader] > > (Also changing the form var and db field name (as mark suggested)... > The idea is to have variables that you can easily determine where they come > from. > I didn't change the text var "ZONE" because I changed the database field name > "ZONE" > to "C_ZONE".) > > Donovan ------------------------------------------------------------- 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://webdna.smithmicro.com/ Alan White

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:

authenticating a second user (1997) Thanks Grant (1997) Need relative path explanation (1997) WebCat2: Items xx to xx shown, etc. (1997) [WebDNA] How do we tell what's misconfigured? Or which WebDNA 7 version to use? (2011) F3 crashing server (1997) Separate SSL Server (1997) pulling URL information (2003) formatting search results (1999) WebCatalog f2 Installation (1997) Cookie Newbie (2002) OT: Time Tracking (2003) Major Security Hole (1998) message board (2001) RE: Subtotal help (1997) Time Display from Database (1997) Dumb Question about Docs (1997) text size limitation (1997) Error Lob.db records error message not name (1997) BUG in [showif] using ^ (contains) (1997)