Tables

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61079
interpreted = N
texte = Ok, an opportunity may have come up to use tables for the first time. I'm looking at the examples in the Doc's and I'm a bit confused about how WebDNA interprets this: [table name=products&fields=SKU,NAME,DESC] 1001 Red Widget A small red widget 1002 Blue Widget A small blue widget 1003 Green Widget A small green widget [/table] How does it know where SKU, NANE and DESC start/end in this example if they're all separated only by spaces and the names and descriptions have their own spaces in the value? If this has been hashed out already, then tell me to search the archives. If If it's too late at night and I'm not seeing something obvious, slap some sense into me and 'splain it please. And if someone dare's to help straighten out this syntax based on the answer supplied for the question above, I'd appreciate it: [table name=priorities&fields=DVDSKU,PRIORITY] [loop start=1&end=[loopnum]][interpret][DVDSKU[index]a][/interpret] [interpret][PRIORITY[index]][/interpret][/loop] [/table] (yes, that is coming from a form submission where multiple values can be modified at once). Gary ------------------------------------------------------------- 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: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?=20bug=3F?= (dbrooke@euca.us 2016)
  2. Re: [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  3. Re: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?= (dbrooke@euca.us 2016)
  4. Re: [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  5. Re: [WebDNA] lookup in tables defined in functions - bug? (Stuart Tremain 2016)
  6. Re: [WebDNA] lookup in tables defined in functions - =?UTF-8?Q?bug=3F?= (dbrooke@euca.us 2016)
  7. Re: [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  8. Re: [WebDNA] lookup in tables defined in functions - bug? (Stuart Tremain 2016)
  9. [WebDNA] lookup in tables defined in functions - bug? (Noah Valley 2016)
  10. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] MySQL Users (Kenneth Grome 2011)
  11. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] (Donovan Brooke 2011)
  12. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] (Donovan Brooke 2011)
  13. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] MySQL Users (Brian Fries 2011)
  14. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] (Donovan Brooke 2011)
  15. Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] MySQL Users (Govinda 2011)
  16. Re: [WebDNA] Listfields does not work with tables (Govinda 2011)
  17. [WebDNA] Now: Listfields does not work with tables - Was: [OT] MySQL Users (Donovan Brooke 2011)
  18. Re: [WebDNA] Listfields does not work with tables (Kenneth Grome 2011)
  19. Re: [WebDNA] Listfields does not work with tables (Govinda 2011)
  20. [WebDNA] Listfields does not work with tables (Kenneth Grome 2011)
  21. Re: [WebDNA] small bug when searching tables in functions (Govinda 2011)
  22. Re: [WebDNA] small bug when searching tables in functions (Govinda 2011)
  23. [WebDNA] small bug when searching tables in functions (Olin Lagon 2011)
  24. Re: [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
  25. Re: [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
  26. Re: [WebDNA] Bullet proof dynamic tables (Dan Strong 2009)
  27. Re: [WebDNA] Bullet proof dynamic tables (Terry Wilson 2009)
  28. Re: [WebDNA] Bullet proof dynamic tables (Toby Cox 2009)
  29. [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
  30. Re: [WebDNA] Comparing 2 MySQL tables (Donovan Brooke 2009)
  31. [WebDNA] Comparing 2 MySQL tables (christophe.billiottet@webdna.us 2009)
  32. RE: [WebDNA] Tables... ("Tana Adams" 2008)
  33. Re: [WebDNA] Tables... (Patrick McCormick 2008)
  34. Re: [WebDNA] Tables... (Terry Wilson 2008)
  35. Re: [WebDNA] Tables... (Donovan Brooke 2008)
  36. [WebDNA] Tables... ("Tana Adams" 2008)
  37. RE: [WebDNA] Help with Tables ("Tana Adams" 2008)
  38. Re: [WebDNA] Help with Tables (Donovan Brooke 2008)
  39. Re: [WebDNA] Help with Tables (Stuart Tremain 2008)
  40. [WebDNA] Help with Tables ("Tana Adams" 2008)
  41. Re: Tables ( Gary Krockover 2005)
  42. Re: Tables ( Jesse Proudman 2005)
  43. Re: Tables ( Gary Krockover 2005)
  44. Re: Tables ( Jesse Proudman 2005)
  45. Tables ( Gary Krockover 2005)
  46. Re: WebDNA tables and commas - the fix ( Jim Lanford 2004)
  47. Re: WebDNA tables and commas ( Donovan Brooke 2004)
  48. Re: WebDNA tables and commas ( Donovan Brooke 2004)
  49. WebDNA tables and commas ( Jim Lanford 2004)
  50. Re: Question on TABLES ( Alain Russell 2003)
  51. Re: Question on TABLES ( "Scott Anderson" 2003)
  52. Question on TABLES ( Larry Hewitt 2003)
  53. Re: Question on TABLES ( Scott Anderson 2003)
  54. Question on TABLES ( Larry Hewitt 2003)
  55. Re: Showing formatted results in tables (Robert Wade 2002)
  56. Re: Showing formatted results in tables (Robert Wade 2002)
  57. Re: Showing formatted results in tables (Paul Berman 2002)
  58. Re: Showing formatted results in tables (Daryl Mitchell 2002)
  59. Re: Showing formatted results in tables (Pedro Rivera 2002)
  60. Re: Showing formatted results in tables (Gary Krockover 2002)
  61. Re: Showing formatted results in tables (Robert Wade 2002)
  62. Showing formatted results in tables (Paul Berman 2002)
  63. Re: UPS Rate Tables (John Hill 2002)
  64. Re: UPS Rate Tables (Donovan 2002)
  65. UPS Rate Tables (stephen 2002)
  66. Convertion Tables (Thierry Almy 2000)
  67. Re: Shipping Tables (Phil Marshall 1999)
  68. Re: Forms & Tables (John Kannenberg 1998)
  69. Re: Forms & Tables (Julian Clayton 1998)
  70. Re: Forms & Tables (Dave MacLeay 1998)
  71. Re: Forms & Tables (John Kannenberg 1998)
  72. Re: Forms & Tables (david@textileweb.net (TextileWeb - David) 1998)
  73. Re: Forms & Tables (Mícheál O Sé 1998)
  74. Forms & Tables (John Kannenberg 1998)
  75. Re: Formating Tables w/[founditems] (Paul Berman 1998)
  76. Re: Formating Tables w/[founditems] (Grant Hulbert 1998)
  77. Re: Formating Tables w/[founditems] (Kim 1998)
  78. Formating Tables w/[founditems] (Kim 1998)
  79. Re: Multi-Row Tables from a search. (Mike Heininger 1997)
  80. Re: Multi-Row Tables from a search. (Pat McCormick 1997)
  81. Multi-Row Tables from a search. (updates@virtualrep.com (Updates) 1997)
  82. Navigator 4.0 & tables (grichter@panavise.com (Gary Richter) 1997)
Ok, an opportunity may have come up to use tables for the first time. I'm looking at the examples in the Doc's and I'm a bit confused about how WebDNA interprets this: [table name=products&fields=SKU,NAME,DESC] 1001 Red Widget A small red widget 1002 Blue Widget A small blue widget 1003 Green Widget A small green widget [/table] How does it know where SKU, NANE and DESC start/end in this example if they're all separated only by spaces and the names and descriptions have their own spaces in the value? If this has been hashed out already, then tell me to search the archives. If If it's too late at night and I'm not seeing something obvious, slap some sense into me and 'splain it please. And if someone dare's to help straighten out this syntax based on the answer supplied for the question above, I'd appreciate it: [table name=priorities&fields=DVDSKU,PRIORITY] [loop start=1&end=[loopnum]][interpret][DVDSKU[index]a][/interpret] [interpret][PRIORITY[index]][/interpret][/loop] [/table] (yes, that is coming from a form submission where multiple values can be modified at once). Gary ------------------------------------------------------------- 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/ Gary Krockover

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:

Multiple Search Fields (1998) WebCatalog [FoundItems] Problem - AGAIN - (1997) Frames and WebCat (1997) Listserver problem (1997) pop up menu's (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Separate SSL Server (1997) [WebDNA] Permissions on DB files (2012) Cancel Subscription (1996) SSL (1998) WC Database Format (1997) off topic - dna snipets (1997) Not really WebCat (1997) Protect and Serve (1999) Sku numbers (1997) URL'ed value not written to DB URL'ed (2003) Webcat 2.0.1 date math bug -> Crash! (1997) Pricing (1998) wierd [cart] action! (1997) WC2f3 (1997)