Re: price formula
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22364
interpreted = N
texte = I've tried several ways and the showif doen't seem to be showing, here is my code? maybe it has to do with the textC, maybe I need a lineitem.price [math][price][showif [textC]= XX-Large]+1[/showif][/math]I'm stummed, it should work, but it doesn't.thanks for any help.>>I have a database of items. I have the textC field set to input the>>size of the item. I the want to increment the price up a dollar when>>textC = XX-Large. What is the code of for this in the formula.db?>>>>I tried something like this>> [showif [textC]=XX-Large][math][lookup...price]+1.00[/math][/showif]>>Boy, that sure looks right. What's not working? It should be as simple as:>>-- Formulas.db -->price [math][price][ShowIf [textC]=XX-Large]+1[/ShowIf][/math]>>This does [math][price][/math] for normal sizes, and [math][price]+1[/math]>for XX-Large______________________________________________________Get Your Private, Free Email at http://www.hotmail.com
Associated Messages, from the most recent to the oldest:
I've tried several ways and the showif doen't seem to be showing, here is my code? maybe it has to do with the textC, maybe I need a lineitem.price
[math][price][showif [textC]= XX-Large]+1[/showif][/math]I'm stummed, it should work, but it doesn't.thanks for any help.>>I have a database of items. I have the textC field set to input the>>size of the item. I the want to increment the price up a dollar when>>textC = XX-Large. What is the code of for this in the formula.db?>>>>I tried something like this>> [showif [textC]=XX-Large]
[math][lookup...price]+1.00[/math][/showif]>>Boy, that sure looks right. What's not working? It should be as simple as:>>--
formulas.db -->price
[math][price][ShowIf [textC]=XX-Large]+1[/ShowIf][/math]>>This does
[math][price][/math] for normal sizes, and
[math][price]+1[/math]>for XX-Large______________________________________________________Get Your Private, Free Email at http://www.hotmail.com
Mike Jones
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:
WebDelivery Text (1998)
[format 40s]text[/format] doesn't work (1997)
BUG REPORT: numeric ge, le, gr & ls comparisons don't work... (1999)
Groups doesn't work (1997)
Calculating multiple shipping... (1997)
Copyright ? (1997)
WebCat & WebTen (1997)
Re[2]: Next X hits (1996)
carriage returns in data (1997)
[OT] Kerio Mailserver (2003)
[ShowIf] a either fields are blank (1998)
[GROUPS] followup (1997)
Dark Horse Comics success story (1997)
Extended [ConvertChars] (1997)
writefiles (1999)
Width & Height (1998)
Mac v. NT (1998)
[BULK] [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011)
Bug Report, maybe (1997)
Forms Search Questions (1997)