Re: search question
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39831
interpreted = N
texte = If I understand you correctly you want to display the name of the field andnot its value? If so look at:[listdatabases] [listfields]-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Dale TherioSent: Thursday, November 01, 2001 10:33 AMTo: WebCatalog TalkSubject: Re: search questionThat isn't the problem.I need to determine which field to display from the database.So I determine the field that I need to display using showifs,but can't get the field to display within the [founditems] loop.the variable name is [sign] the VALUE of the variable is thename of the field in the database I want to display.I need to calculate the proper field to display based on todaysdate.e.g. today is November 1st, so the sign is scorpio, the field inthe database I wish to display is called scorpio. The name ofthe variable I am storing the name of the field I need is called[sign]. Adding a _ won't do anything.On Thu, 01 Nov 2001 10:23:28 John Peacock
wrote:> Dale Therio wrote:> >> > Hello,> >> > I can't figure this search out.> >> > I am using a series of showifs to determine a particular> value.> > this works fine. Following this, I do a search based on 2> > criteria (the first value is not one of them).> >>> [snipped]>> > So, any idea on how to get a text value to be interpreted> as a> > field name?>> Don't use the same name for fields and formvariables. This> would immediately> solve your problem and is good policy going forward. One way> people have> suggested in the past is to prefix an underscore on the form> variables.>> HTH>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
If I understand you correctly you want to display the name of the field andnot its value? If so look at:[listdatabases] [listfields]-----Original Message-----From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]OnBehalf Of Dale TherioSent: Thursday, November 01, 2001 10:33 AMTo: WebCatalog TalkSubject: Re: search questionThat isn't the problem.I need to determine which field to display from the database.So I determine the field that I need to display using showifs,but can't get the field to display within the [founditems] loop.the variable name is [sign] the VALUE of the variable is thename of the field in the database I want to display.I need to calculate the proper field to display based on todaysdate.e.g. today is November 1st, so the sign is scorpio, the field inthe database I wish to display is called scorpio. The name ofthe variable I am storing the name of the field I need is called[sign]. Adding a _ won't do anything.On Thu, 01 Nov 2001 10:23:28 John Peacock wrote:> Dale Therio wrote:> >> > Hello,> >> > I can't figure this search out.> >> > I am using a series of showifs to determine a particular> value.> > this works fine. Following this, I do a search based on 2> > criteria (the first value is not one of them).> >>> [snipped]>> > So, any idea on how to get a text value to be interpreted> as a> > field name?>> Don't use the same name for fields and formvariables. This> would immediately> solve your problem and is good policy going forward. One way> people have> suggested in the past is to prefix an underscore on the form> variables.>> HTH>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747-------------------------------------------------------------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 toWeb Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------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://search.smithmicro.com/
Vincent Medina
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:
Encrypting userid for email (2000)
Frames and cart values (1998)
Merging databases (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
[OT] Display Glitch (2004)
Probably a very simple question? (1997)
Caching [include] files ... (1997)
grep for search, not replace (2002)
IE Cache Problems... (1999)
Not really WebCat- (1997)
[WebDNA] html email.. should be a no-brainer.. but it is not parsing. (?) (2010)
InternetWeek E-Commerce article (1998)
Re:E-Mailer (WebCatb15acgiMac) (1997)
URL problem (2007)
WebCatalog [FoundItems] Problem - LONG - (1997)
Sorting by date (1997)
[protect] (2000)
normal users.db calls ... (1998)
Seeking Better Display of results... (1997)
WebCatalog Technical Reference (1997)