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:

apostrophe in search item (1997) WebCatalog NT beta 18 problem (1997) Cumulative Shipping charge calculations - your help please. (1997) Using Plug-In while running 1.6.1 (1997) Emailer (1998) Word wrapping (1997) Linked lists and Recursive searching (2003) WebCat2 - [include] tags (1997) SwitchNotFoundDEFAULT (2003) WC2b12: Yes, Formulas.db is for real (1997) [defined]ish (1997) trigger firing at restart (2003) Where is f2? (1997) [OT] Colored source code in IE? (2007) Add a Blog to your site. (2002) Server Creation - vendors (2005) syntax question, not in online refernce (1997) system crashes, event log (1997) I found a bug ... (1997) Conditional searching & displaying (1997)