Re: ConverChars

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23783
interpreted = N
texte = >I need to convert some of my database fields from a text string to a '1' > >Currently I have a test.tpl which has the following on it: > > >[ConvertChars db= shapes.db]FunBoard[/ConvertChars] > When using the [ConvertChars] the text in the from column must be only one character, the text in the to column can be up to 63. I don't think that the [ConvertChars] tag will work the way you want it to in this situation. Try to use the [Replace] tag.Example: [replace db=yourdatabase.db&eqFIELDNAMEdatarq=Funboard]FIELDNAME=1 [/replace] Ms. Robyn Wherry ********************************* Pacific Coast Software * WebCommerce Solution, the best robinw@smithmicro.com * shopping solution available. 619-675-1106 ex.114 fax: 619-675-0372 ********************************* 11770 Bernardo Plaza Crt. #462 San Diego, Ca. 92128 Associated Messages, from the most recent to the oldest:

    
  1. Re: BUG: db= param of converchars within founditems loop ( Donovan Brooke 2005)
  2. BUG: db= param of converchars within founditems loop ( Donovan Brooke 2005)
  3. Re: converchars in sendmail context.... ( Alan White 2004)
  4. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  5. Re: converchars in sendmail context.... ( Alan White 2004)
  6. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  7. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  8. Re: converchars in sendmail context.... ( Alan White 2004)
  9. Re: converchars in sendmail context.... ( John Peacock 2004)
  10. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  11. Re: converchars in sendmail context.... ( Alex McCombie 2004)
  12. Re: converchars in sendmail context.... ( Rob Marquardt 2004)
  13. Re: converchars in sendmail context.... ( Alan White 2004)
  14. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  15. Re: converchars in sendmail context.... ( Alan White 2004)
  16. Re: converchars in sendmail context.... ( Alan White 2004)
  17. Re: converchars in sendmail context.... ( Donovan Brooke 2004)
  18. Re: converchars in sendmail context.... ( John Peacock 2004)
  19. Re: converchars in sendmail context.... ( Alan White 2004)
  20. converchars in sendmail context.... ( Alan White 2004)
  21. Re: ConverChars (Shelly M Medford 1999)
  22. Re: ConverChars (PCS Technical Support 1999)
  23. Re: ConverChars (Kenneth Grome 1999)
  24. Re: ConverChars (Jan Kinzler 1999)
  25. Re: ConverChars (charles kline 1999)
  26. Re: ConverChars (Alex McCombie 1999)
  27. Re: ConverChars (Jan Kinzler 1999)
  28. Re: ConverChars (Bob Minor 1999)
  29. Re: ConverChars (John Jakovich 1999)
  30. Re: ConverChars (Will Starck 1999)
  31. Re: ConverChars (charles kline 1999)
  32. ConverChars (Jan Kinzler 1999)
>I need to convert some of my database fields from a text string to a '1' > >Currently I have a test.tpl which has the following on it: > > >[ConvertChars db= shapes.db]FunBoard[/ConvertChars] > When using the [convertchars] the text in the from column must be only one character, the text in the to column can be up to 63. I don't think that the [convertchars] tag will work the way you want it to in this situation. Try to use the [replace] tag.Example: [replace db=yourdatabase.db&eqFIELDNAMEdatarq=Funboard]FIELDNAME=1 [/replace] Ms. Robyn Wherry ********************************* Pacific Coast Software * WebCommerce Solution, the best robinw@smithmicro.com * shopping solution available. 619-675-1106 ex.114 fax: 619-675-0372 ********************************* 11770 Bernardo Plaza Crt. #462 San Diego, Ca. 92128 John Jakovich

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:

[Sum] function? (1997) Country & Ship-to address & other fields ? (1997) date pref (1999) Search in 2 or more catalogs (1997) Webcat2, WebCommerce, Mod 10 etc. (1997) textarea text truncated by browser (2000) [WebDNA] lighttpd.conf for php and webdna? (2013) Looking up two prices in database? (1997) test (2000) [Webcat 2]Next (1997) PSC recommends what date format yr 2000??? (1997) Multi Colonns (1998) WebCat2 several catalogs? (1997) protect tag on NT IIS (1997) Can't load tmpl files (1997) Emailer (1998) carriage returns in data (1997) [WebDNA] Crashing again (2008) How To question on setting up downloads (1997) How to append text after the sign & (1997)