Re: LineItem variable set

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68889
interpreted = N
texte = [lineitems] [text]description=[LOOKUP db=databasePath&value=[sku]&lookInField=sku&returnField=description¬Found=][/text] [showif [description]~PROMO] [text show=t]validitem=t[/text] [/showif] [/lineitems] Ki Song wrote: > It looks like the problem is when I'm trying search an item's description in > the lineitems context. > Under lineitems, by WebDNA's default, I can only search certain fields. > How do I set the [texta] field in the lineitems context to the description > on an item in a products.db database? > Does this make sense? > > >>From: Marc Thompson >>Reply-To: WebDNA Talk >>Date: Thu, 26 Apr 2007 10:03:30 -0600 >>To: WebDNA Talk >>Subject: Re: LineItem variable set >> >>[showif [GetChars start=1&end=5][description][/GetChars]=PROMO] >> >>Ki Song wrote: >> >> >>>>I always have better luck with the "contains" (^) tag but I suspect that it >>>>may be other issues involving being inside a lineitems context. >>>> >>>>G. >>> >>>The only issue is that there are some items that contain the word PROMO, but >>>doesn't necessarily start with PROMO. The description MUST BEGIN WITH PROMO. >>> >>> >>> >>>------------------------------------------------------------- >>>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/ >>> >> >>-- >>------------------------------------------- >>Marc Thompson >>Software Engineer >>Office of Information Technology >>University of Utah >>801.585.9264 >>marc.thompson@utah.edu >>------------------------------------------- >> >>------------------------------------------------------------- >>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/ > > > > > ------------------------------------------------------------- > 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/ > -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- 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: LineItem variable set ( Marc Thompson 2007)
  2. Re: LineItem variable set ( thierry 2007)
  3. Re: LineItem variable set ( Jim Ziegler 2007)
  4. Re: LineItem variable set ( Ki Song 2007)
  5. Re: LineItem variable set ( Marc Thompson 2007)
  6. Re: LineItem variable set ( Donovan Brooke 2007)
  7. Re: LineItem variable set ( Ki Song 2007)
  8. Re: LineItem variable set ( Marc Thompson 2007)
  9. Re: LineItem variable set ( Ki Song 2007)
  10. Re: LineItem variable set ( Marc Thompson 2007)
  11. Re: LineItem variable set ( Gary Krockover 2007)
  12. LineItem variable set ( Ki Song 2007)
[lineitems] [text]description=[LOOKUP db=databasePath&value=[sku]&lookInField=sku&returnField=description¬Found=][/text] [showif [description]~PROMO] [text show=t]validitem=t[/text] [/showif] [/lineitems] Ki Song wrote: > It looks like the problem is when I'm trying search an item's description in > the lineitems context. > Under lineitems, by WebDNA's default, I can only search certain fields. > How do I set the [texta] field in the lineitems context to the description > on an item in a products.db database? > Does this make sense? > > >>From: Marc Thompson >>Reply-To: WebDNA Talk >>Date: Thu, 26 Apr 2007 10:03:30 -0600 >>To: WebDNA Talk >>Subject: Re: LineItem variable set >> >>[showif [GetChars start=1&end=5][description][/GetChars]=PROMO] >> >>Ki Song wrote: >> >> >>>>I always have better luck with the "contains" (^) tag but I suspect that it >>>>may be other issues involving being inside a lineitems context. >>>> >>>>G. >>> >>>The only issue is that there are some items that contain the word PROMO, but >>>doesn't necessarily start with PROMO. The description MUST BEGIN WITH PROMO. >>> >>> >>> >>>------------------------------------------------------------- >>>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/ >>> >> >>-- >>------------------------------------------- >>Marc Thompson >>Software Engineer >>Office of Information Technology >>University of Utah >>801.585.9264 >>marc.thompson@utah.edu >>------------------------------------------- >> >>------------------------------------------------------------- >>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/ > > > > > ------------------------------------------------------------- > 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/ > -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- ------------------------------------------------------------- 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/ Marc Thompson

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:

HTTP upload (2000) How true is this? (1999) Grep (2003) Mac & Internet Explorer (2000) Strange intermittent WebDNA problems Workaround (2008) WebCatalog/Mac 2.1b2 New Features (1997) WebCat2.0 [format thousands .0f] no go (1997) WebCatalog 3.0.8 is on FTP... (2000) Re[2]: php vs WebCatalog (2000) Feature discussion: simple way for [url] and [convertchars] (2000) Multiple prices (1997) WebCatalog for Postcards ? (1997) calculating tax rates, mail order solutions and version 2 (1997) Sandbox Question (2003) Too many webcat comments. [WAS- Large founditems loops] (2000) WebCatalog2 Feature Feedback (1996) Shop till you drop dead on the avenue ... (1997) problems with dos and tracert + webDNA (1998) Error Messages Returned to User (1997) UPPERCASE (1997)