MySQL and Numbers

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62754
interpreted = N
texte = I know this has been covered before but I didn't get the glue ... WebDNA has problems in showing up the correct value from a MySQL Database if the field is a number field (FLOOD, DECIMAL, INT, ...) In my case it's a field holding the price for an item. My query lokks like this: SELECT ean,price FROM table01 WHERE id=1; so I tried as described earlier in the list: SELECT ean,FORMAT(price,2) FROM table01 WHERE id=1; or SELECT ean,FORMAT(price,2) AS PERCENT FROM table01 WHERE id=1; in both cases WebDNA will not know the field "price" and is displaying it within the brackets: [price] How do you do that? Thierry ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: SM: MySQL and Numbers (BUG) ( Clint Davis 2005)
  2. Re: SM: MySQL and Numbers (BUG) ( Jesse Proudman 2005)
  3. Re: SM: MySQL and Numbers (BUG) ( Clint Davis 2005)
  4. Re: SM: MySQL and Numbers (BUG) ( Jesse Proudman 2005)
  5. SM: MySQL and Numbers (BUG) ( Clint Davis 2005)
  6. Re: MySQL and Numbers ( Clint Davis 2005)
  7. Re: MySQL and Numbers ( Thierry Almy 2005)
  8. Re: MySQL and Numbers ( Clint Davis 2005)
  9. Re: MySQL and Numbers ( nitai@computeroil.com 2005)
  10. Re: MySQL and Numbers ( Clint Davis 2005)
  11. Re: MySQL and Numbers ( Thierry Almy 2005)
  12. Re: MySQL and Numbers ( Clint Davis 2005)
  13. Re: MySQL and Numbers ( Thierry Almy 2005)
  14. Re: MySQL and Numbers ( nitai@computeroil.com 2005)
  15. MySQL and Numbers ( Thierry Almy 2005)
I know this has been covered before but I didn't get the glue ... WebDNA has problems in showing up the correct value from a MySQL Database if the field is a number field (FLOOD, DECIMAL, INT, ...) In my case it's a field holding the price for an item. My query lokks like this: SELECT ean,price FROM table01 WHERE id=1; so I tried as described earlier in the list: SELECT ean,FORMAT(price,2) FROM table01 WHERE id=1; or SELECT ean,FORMAT(price,2) AS PERCENT FROM table01 WHERE id=1; in both cases WebDNA will not know the field "price" and is displaying it within the brackets: [price] How do you do that? Thierry ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Thierry Almy

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:

This list needs a digest: rant, rave... (1997) Ok here is a question? (1997) WebMerchant and Mac Auth Hub Help Please (1999) WebCatalog Technical Reference (1997) OT : Site speed feedback (2002) PDA Browser Emulator (2006) Ken's Data Manager (was dbQuickView 2.0) (2005) calculating tax rates, mail order solutions and version 2 (1997) can pull down menu do a ONCHANGE= without Java script? (2000) Emailer choke (1997) Not really WebCat (1997) WebCatalog for Postcards ? (1997) can WC render sites out? (1997) Dates (1998) Email Formatting and Encryption (1998) ListFiles Bug (1998) Confusing [protect] (long) (1999) HELLO (2000) Search 1 Field Twice? (2004) greater than or equal to (1997)