REPLACE problem

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34059
interpreted = N
texte = I have the following code that sorts works, but sorta doesn't. If I try to use it to change the content of the field name [commonname], it replaces the thext I enter with [__commonname]. I mean it literally places [__commonname] into the databse. Not good.Mac OS WC4Any tips, hints, advise, or money will be gratefully accepted.Glenn---------------------------------------------------------------------------- Product Detail for [SKU] [include file=../POLHeader.inc]

[search db=../pol.db&eqskudata=[url][sku][/url]] [founditems]
[Name]
[showif [hasPhoto]=T][/showif][ showif [hasPhoto]!T] [/showif]

[showif [hasPhoto]=T]Photo Name: [photoname][/showif]

Common Name:
SKU # [sku]
Grower: [grower]
Hardiness Zone:
Care:
Shipping Size:
Price:
Taxable:
Availability:
(As Per Grower)
Remaining in Inventory:
(Availability - Sales)
Shipping Restricted:
Cannot Ship To: [cannotshipto]
Description:
[/founditems] [/search]
[replace db=../pol.db&eqSKUdatarq=[url][sku][/url]]commonname=[url][__commonname][/url][/ replace] [commitdatabase db=../pol.db]
Back
------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: REPLACE problem (John Butler 2000)
  2. Re: REPLACE problem (WebDNA Support 2000)
  3. Re: REPLACE problem (Glenn Busbin 2000)
  4. Re: REPLACE problem (Glenn Busbin 2000)
  5. Re: REPLACE problem (WebDNA Support 2000)
  6. REPLACE problem (Glenn Busbin 2000)
  7. Re: replace problem (Kenneth Grome 1999)
  8. Re: replace problem (listas 1999)
  9. Re: replace problem (Kenneth Grome 1999)
  10. Re: replace problem (listas 1999)
  11. Re: replace problem (Will Starck 1999)
  12. Re: replace problem (listas 1999)
  13. Re: replace problem (Will Starck 1999)
  14. replace problem (listas 1999)
I have the following code that sorts works, but sorta doesn't. If I try to use it to change the content of the field name [commonname], it replaces the thext I enter with [__commonname]. I mean it literally places [__commonname] into the databse. Not good.Mac OS WC4Any tips, hints, advise, or money will be gratefully accepted.Glenn---------------------------------------------------------------------------- Product Detail for [SKU] [include file=../POLHeader.inc]

[search db=../pol.db&eqskudata=[url][sku][/url]] [founditems]
[Name]
[showif [hasPhoto]=T][platform]]/WebCatalog/Art/[/showif]../ImageShed/[PhotoName]>[/showif][ showif [hasPhoto]!T] [/showif]

[showif [hasPhoto]=T]Photo Name: [photoname][/showif]

Common Name: [input][commonname][/input] size=30>
SKU # [sku]
Grower: [grower]
Hardiness Zone:
Care:
Shipping Size:[input][size][/input] size=15>
Price: [input][price][/input] size=8>
Taxable:
Availability:[input][availability][/input] size=5>
(As Per Grower)
Remaining in Inventory: [input][Inv][/input] size=5>
(Availability - Sales)
Shipping Restricted:
Cannot Ship To: [cannotshipto] [input][cannotshipto][/input] size=30>
Description:
[/founditems] [/search]
[replace db=../pol.db&eqSKUdatarq=[url][sku][/url]]commonname=[url][__commonname][/url][/ replace] [commitdatabase db=../pol.db]
[referrer]>Back
------------------------------------------------------------- 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://search.smithmicro.com/ Glenn Busbin

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:

WebCat2 - Getting to the browser's username/password data (1997) log files (1998) oops private message leaked into talk list (1997) HELP WITH DATES (1997) Can you specify encoding=multiline? (2000) Re:no [search] with NT (1997) Trigger Validation Text Broken (2003) First postarg not taking in $Commands (1997) Problem with Formulas.db (1998) No Wanna Duppys (1998) Warning: Mac OS X 10.2.4 Update Overwrites Apache's (2003) Date Time Oddness (1999) Credit Card Number checking (1997) [WebDNA] CORRECTION: 60% failure rate using replace in a loop (2010) Multiple Users.db Possible? (1997) Multi-processor Mac info ... (1997) RAM variables (1997) Problems with [Applescript] (1997) [WebDNA] [OT] thanks. (2009) return missing item (was:WebCat Sales) (1997)