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:

Summing fields (1997) RE: Quantity (1998) Opinion: [input] should be called [output] ... (1997) MISTAKE in last post: Adding multiple items to Cart (1999) New Plug-in and Type 11 errors (1997) Formating Tables w/[founditems] (1998) Nav. 4 probs with cart - Serious problem (1997) CommandSecurity? (1997) More Applescript (1997) Search Results (1998) WebDNA Solutions ... (1997) WebCat2b13MacPlugIn - [include] (1997) Database access (2003) TCP Connect (2000) Instructions for Digest (1997) OT: Please set your computer's clock (1997) ImageMagick (2005) The List is Changing (1997) search w/international chars (1999) date display (1999)