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:

[WebDNA] Trigger stops executing (2017) WebCatalog can't find database (1997) acrobat -> wc (1998) b18 problem on NT 4.0 (1997) [include file=filename.inc&strip=t] (2002) Problem with updating to 2.1.1 (1998) Web Logs (1998) Real Audio files (1997) Setting up a lightbox (2002) 2.1b3 --> way slow (1997) OT Pager notification of completed orders (1998) Installation webCatalog (French speakers please help) (1998) form mail (2000) Search for 20 finds ... Eureka! (1997) [protect admin] (1997) Smith Micro - no competition (2000) Strange ThisURL under Linux (2000) Webcatalog error, Plug-in for Webstar (1996) Deleting Orders (1997) Using Plug-In while running 1.6.1 (1997)