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

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30116
interpreted = N
texte = I think I may have answered my own question. I flushed the cache and prices started showing up. (I hadn't flushed cache since I modified field names.) Only prices in my db without $ in front of them show up. What syntax in the code below causes prices with $ to not show up.Thanks everybody. Hope it's as sunny and warm wherever you are as it is here in WV!Anup setty wrote:> 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 ------------------------------------------------------------- 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 I may have answered my own question. I flushed the cache and prices started showing up. (I hadn't flushed cache since I modified field names.) Only prices in my db without $ in front of them show up. What syntax in the code below causes prices with $ to not show up.Thanks everybody. Hope it's as sunny and warm wherever you are as it is here in WV!Anup setty wrote:> 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 ------------------------------------------------------------- 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 Robert McPeak

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:

2.0 Info (1997) PIXO support (1997) Lineitems [text*] (2004) WebCat2 beta 11 - new prefs ... (1997) Re:listfiles-looking for slick solution (1997) keep W* in front applescript? (1998) Date search - yes or no (1997) Further tests with the infamous shipCost (1997) Is there a 'does not contain' comparison? (1999) RE: Lookup Notfound (1998) different show next (1997) password authentication schemes (2003) PCS Frames (1997) New site announcement + Showing once on a founditems (1997) WebCat2: Items xx to xx shown, etc. (1997) RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998) WebCat2 Append problem (B14Macacgi) (1997) [Semi-OT] Kinda cool tool (how does it work?) (2004) Migrating to NT (1997) Uploading out of FMP (2001)