Resolving variables into field names

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21965
interpreted = N
texte = How do you resolve a variable into a field name in order to display the value of that field from within a [founditems] loop? I have a search that looks like this:[search db=prices.db&eqItemdatarq=A] [founditems] [startdate] [/founditems][/search]Now [startdate] is a variable with an assigned value of 729909 which is the name of the field which contains the value I wish to display. Currently my result is simply 729909 instead of the value that is contained in the field named 729909. The prices database looks like: Item 729909 729910 729911... A 10 12 17 B 14 17 18Any ideas are appreciated. Thanks Marty Schmid Associated Messages, from the most recent to the oldest:

    
  1. Re: Resolving variables into field names (Carlos Machado 1998)
  2. Re: Resolving variables into field names-resolved! (Marty Schmid 1998)
  3. Re: Resolving variables into field names (Dave MacLeay 1998)
  4. Resolving variables into field names (Marty Schmid 1998)
How do you resolve a variable into a field name in order to display the value of that field from within a [founditems] loop? I have a search that looks like this:[search db=prices.db&eqItemdatarq=A] [founditems] [startdate] [/founditems][/search]Now [startdate] is a variable with an assigned value of 729909 which is the name of the field which contains the value I wish to display. Currently my result is simply 729909 instead of the value that is contained in the field named 729909. The prices database looks like: Item 729909 729910 729911... A 10 12 17 B 14 17 18Any ideas are appreciated. Thanks Marty Schmid Marty Schmid

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:

ShowNext (1997) WebTen and WebCat (1997) notification solutions (1997) How do I get Google to crawl a WebCat site? (2003) WebCommerce: Folder organization ? (1997) Wanted: Broader string manipulation functions (1997) Jimmy (1998) [WebDNA] OT: chunkhost.com (2012) Problems with [Search] param - Mac Plugin b15 (1997) [WebDNA] Triggers not working (2011) [WebDNA] WebDNA version 7 feature list? (2011) Updating fields from different platforms (1998) [Off Topic]Bay To Breakers (or WebCatalog Beats Intershop) (1998) Inaugural meeting of the 'Oceanic WebDNA Programmers (2004) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) numfound question (2005) Date comparison using showif (2003) passing a variable in a pulldown (2005) [UPPERCASE] (1997) Problems with [Applescript] (1997)