Re: [foundItems] context question --returns some fields but not others--

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30114
interpreted = N
texte = I think it is because of your [format] tag,[format .2f][price][/format]it is giving you only the 2 decimal places, or may be the PRICE field has no value. Try changing the format to 8.2f or what ever number you want.anup ----- Original Message ----- From: Robert McPeak To: WebCatalog Talk Sent: Thursday, April 06, 2000 9:33 AM Subject: [foundItems] context question --returns some fields but not others-- > Could someone shed some light on why the following code returns data > from the [title] field, the [SKU] field, but will only return 0.00 in > the [price] field? > > This code came from the TeaRoom. I've just added my particulars. > > Thank you thank you! > > [foundItems] > > [SKU] > [title] > [format .2f][price][/format] > HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=fitproducts.db&sku=[url][s ku][/url]>Add > to Cart > HREF=Detail.tpl?cart=[cart]&sku=[url][sku][/url]>Detail > > [/foundItems] > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [foundItems] context question --returns some fields but not others-- (Robert McPeak 2000)
  2. Re: [foundItems] context question --returns some fields but not others-- (Anup setty 2000)
  3. [foundItems] context question --returns some fields but not others-- (Robert McPeak 2000)
I think it is because of your [format] tag,[format .2f][price][/format]it is giving you only the 2 decimal places, or may be the PRICE field has no value. Try changing the format to 8.2f or what ever number you want.anup ----- Original Message ----- From: Robert McPeak To: WebCatalog Talk Sent: Thursday, April 06, 2000 9:33 AM Subject: [founditems] context question --returns some fields but not others-- > Could someone shed some light on why the following code returns data > from the [title] field, the [SKU] field, but will only return 0.00 in > the [price] field? > > This code came from the TeaRoom. I've just added my particulars. > > Thank you thank you! > > [founditems] > > [SKU] > [title] > [format .2f][price][/format] > HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=fitproducts.db&sku=[url][s ku][/url]>Add > to Cart > HREF=Detail.tpl?cart=[cart]&sku=[url][sku][/url]>Detail > > [/foundItems] > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 Anup setty

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:

Showing unopened cart (1997) [math date]: Arrrggh! (2003) Bug Report, maybe (1997) Database Security Rev., (2002) Check boxes (1997) TCPConnect / Current Temperature (2004) Preserving form data (1999) RE: Credit card processing - UK (1997) TaxTotal Problem (1997) slightly OT: advertising schemes (2004) WebCat2b12--[searchstring] bug (1997) [WebDNA] Search 2 databases ??? (2009) OT: Poll Please (2002) [replaceChars] would be nice ... (1997) Emailer (1997) One more try (1997) WAY Off-Topic (2004) Multiple fields on 1 input (1997) Help name our technology! (1997) Logical and or in [hideif] (1997)