Problems passing [SKU] with $Replace in 2.0

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10903
interpreted = N
texte = I have a $Replace command that generates a template where I am trying to place the [SKU] field and it does not display in the template as the actual number, but as [SKU]----------------------- The replace code--> -----------------------
----------------------- The corresponding code in guidemodified.tmpl--> -----------------------[Search db=/WebCatalog/jackson.db&eqSKUdata=[SKU]] [FoundItems]
[/FoundItems] [/Search]----------------------- If I use another unique identifying field, it works fine. In this case--> -----------------------[Search db=/WebCatalog/jackson.db&eqBusinessNamedata=[URL][BusinessName][/URL]] [FoundItems] [/FoundItems] [/Search] Any ideas why this will not insert the SKU field, but will insert the BusinessName field in the returned template?----------------------- I have also had it generate a page with just the relevant fields. In this case guidemodified.tmpl has the following code--> -----------------------[BusinessName] [SKU] ----------------------- The generated template displays -----------------------Name of Business [SKU] Trevor Crist Digital Frontier http://www.digitalfrontier.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problems passing [SKU] with $Replace in 2.0 (Trevor Crist 1997)
  2. Re: Problems passing [SKU] with $Replace in 2.0 (Grant Hulbert 1997)
  3. Re: Problems passing [SKU] with $Replace in 2.0 (Kenneth Grome 1997)
  4. Problems passing [SKU] with $Replace in 2.0 (Trevor Crist 1997)
I have a $Replace command that generates a template where I am trying to place the [SKU] field and it does not display in the template as the actual number, but as [SKU]----------------------- The replace code--> -----------------------
----------------------- The corresponding code in guidemodified.tmpl--> -----------------------[Search db=/WebCatalog/jackson.db&eqSKUdata=[SKU]] [founditems]
[/FoundItems] [/Search]----------------------- If I use another unique identifying field, it works fine. In this case--> -----------------------[Search db=/WebCatalog/jackson.db&eqBusinessNamedata=[url][BusinessName][/URL]] [founditems] [/FoundItems] [/Search] Any ideas why this will not insert the SKU field, but will insert the BusinessName field in the returned template?----------------------- I have also had it generate a page with just the relevant fields. In this case guidemodified.tmpl has the following code--> -----------------------[BusinessName] [SKU] ----------------------- The generated template displays -----------------------Name of Business [SKU] Trevor Crist Digital Frontier http://www.digitalfrontier.com Trevor Crist

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:

Just a thought (1998) [append] vs. [appendfile] delta + question? (1997) Expected Behavior? (1999) Dubble Sku's in a Database (1999) New reserved words for [tags] (2000) SiteEdit Pro Update Announcement (1997) I guess I have a problem with commitment (2003) Emailer file formats (1998) tabs as delimiters (2004) Modifying order output (1997) Sendmail for intranet server (2004) [Sum] function? (1997) two unique banners on one page (1997) suffix mapping for NT? (1997) Uniqueness of [cart] (was Number of cars in cart...) (2004) Format question WC Mac f3 (1997) [WebDNA] search by range of dates (2009) BCC Limits (2003) HTML Editors (1997) http upload (2001)