Re: ConverChars
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23786
interpreted = N
texte = I think you might be right about only working on a single character althoughthe manual seems to indicate strings will work. I make a simple test.tplpage to try to convert FunBoard to 2 and the result was: 2unBoardSo I got my 2, but also the rest of the input 'unBoard'Any suggestions from tech support?thanks,Jancharles kline wrote:> I am not positive 'cause I have never tried this, but I think> convertchars only works on a single character. The other problem might be> the space after the = and before the name of the .db>> >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]> >> >I expected to get '1' printed. My shapes.db has:> >FROM TO> >FunBoard 1> >> >> >However, I get a blank page instead of '1'> >> >any suggestions?> >> >thanks,> >Jan> >> >> >>> --> _______________________________________________________________> Charles Kline ckline@macsultants.com> WebMaster - eCommerce Specialist>> MacSultants> Professional Solutions for Computer Systems>> Phone# 609-273-3255> Fax# 609-273-3721
Associated Messages, from the most recent to the oldest:
I think you might be right about only working on a single character althoughthe manual seems to indicate strings will work. I make a simple test.tplpage to try to convert FunBoard to 2 and the result was: 2unBoardSo I got my 2, but also the rest of the input 'unBoard'Any suggestions from tech support?thanks,Jancharles kline wrote:> I am not positive 'cause I have never tried this, but I think> convertchars only works on a single character. The other problem might be> the space after the = and before the name of the .db>> >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]> >> >I expected to get '1' printed. My shapes.db has:> >FROM TO> >FunBoard 1> >> >> >However, I get a blank page instead of '1'> >> >any suggestions?> >> >thanks,> >Jan> >> >> >>> --> _______________________________________________________________> Charles Kline ckline@macsultants.com> WebMaster - eCommerce Specialist>> MacSultants> Professional Solutions for Computer Systems>> Phone# 609-273-3255> Fax# 609-273-3721
Jan Kinzler
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:
F2 to F3 rocky transition (1997)
Separate SSL Server (1997)
suffix mapping, use of cache, etc. (1997)
[include ...] behavior (1997)
Date field search needs ... (1998)
add to cart within a page? (1997)
Running 2 two WebCatalog.acgi's (1996)
Sku numbers (1997)
RE: E-mailer error codes (1997)
[WriteFile] problems (1997)
Startup Script for 5.1g on iTools 8.2 (2006)
Mozilla/4. and Browser Info.txt (1997)
SSL, WebSTAR, WebCatalog (1998)
upgrading (1997)
WebDelivery downloads alias, not original ? (1997)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
Pithy questions on webcommerce & siteedit (1997)
Setting up WebCatalog with Retail Pro data (1996)
Running _every_ page through WebCat ? (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)