Re: [WebDNA] Now: Listfields does not work with tables - Was: [OT] MySQL Users
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106968
interpreted = N
texte = that is a good workaround, Donovan. :-)The main need I had for listfields with tables.. was for debugging. - =One short script to debug any table (spit out all its .hdr and records).Sure I could write it another way.. like using your suggestion too.. but =we have been relying on listfields for years.. and it was just =knee-jerk-natural to reach for it when using [table]s too.- Govinda--------------Old WebDNA talklist archives:http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk> Personally, I can't imagine a need for [listfields..] to work with =[table..], because tables only persist in the scope of a page/process.>=20> If you need to list the fields after the table has been defined, I =would initiate them with a text context:>=20> ----------> [text]t_fields=3Did,name[/text]> [table name=3Dtb_test&fields=3D[t_fields]]> 1Fred> 2john> [/table]>=20> [listwords words=3D[t_fields]]> [word]
> [/listwords]> ---------->=20>=20> Donovan>=20
Associated Messages, from the most recent to the oldest:
that is a good workaround, Donovan. :-)The main need I had for listfields with tables.. was for debugging. - =One short script to debug any table (spit out all its .hdr and records).Sure I could write it another way.. like using your suggestion too.. but =we have been relying on listfields for years.. and it was just =knee-jerk-natural to reach for it when using
[table]s too.- Govinda--------------Old WebDNA talklist archives:http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk> Personally, I can't imagine a need for [listfields..] to work with =[table..], because tables only persist in the scope of a page/process.>=20> If you need to list the fields after the table has been defined, I =would initiate them with a text context:>=20> ---------->
[text]t_fields=3Did,name[/text]> [table name=3Dtb_test&fields=3D[t_fields]]> 1Fred> 2john> [/table]>=20> [listwords words=3D[t_fields]]> [word]
> [/listwords]> ---------->=20>=20> Donovan>=20
Govinda
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 CPUs? (2000)
Problem with [CART] number (1998)
Re1000001: Setting up shop (1997)
[WebDNA] WebDNA future (2010)
[WebDNA] Has [middle] always worked this way? (2014)
Showif Context combined with Search (1997)
Banners (1997)
Summing fields (1997)
Flash Stores (2003)
Webcat and other cgi (2000)
What's wrong with this replace? (2002)
Unformatted Messages (1998)
Digest Version (2000)
ImageMagick (2005)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
New WebDNA Solutions ... (1997)
Help!!!! (1997)
[SHOWIF]s and empty arguments (1997)
WebTen and WebCat (1997)
WebCommerce: Folder organization ? (1997)