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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
[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 ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.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:
sorting... (2003)
[WebDNA] Different settings on old vs new admin pages (2010)
FREE Stuff .. (2003)
[trim]?! (2004)
ShowNext (1997)
FW: 2.01 upgrade problems (1997)
Another question (1997)
dont want to use credit card authorisation yet (2000)
User that WebCatalog/Unix runs as (2000)
Frames and WebCat (1997)
SiteGuard Use Question (1997)
Text limits in NT version? (1997)
Great product and great job ! (1997)
hideif/showif causes error if wrapped around searches (2003)
Cookies (1999)
html in a database (1998)
Prevent multiple appends with Reload Button (1997)
I'm new be kind (1997)
Word search (1997)
Runtime version ... (2003)