Re: search question
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39828
interpreted = N
texte = on 11/1/01 8:50 am, Dale Therio at stuff@colony.net so noted...> I need WC to interpret the value to be the field name.> > [search db=databases/zodiac.db&eqZodiacDateDatarq=[math]{[date]}[/math]> &eqFreqDaterq=1]> [math show=f]found=[numfound][/math]> [showif [found]=1]> [founditems]> [convertchars][sign][/convertchars]> [/founditems]> [/showif]> [/search]> > I detemine the needed value for [sign] using the showifs (to> find out what todays's zodiac sign is).> > The database has fields for date, freq, and the horoscopes for> each sign for this day.> > So for today I determine that if you were born today your sign> is scorpio, I search the database to find today's set of> horoscopes and find that record. I now need to display only the> field for scorpio.If I'm reading this correctly, the value for [sign] has been set *before*your search?Does your database look something like this?ZodiacDate FreqDate Aries Tarus Gemini (etc...)You can include [sign] as part of the search itself.[search db=databases/zodiac.db&eqZodiacDateDatarq=[math]{[date]}[/math]&eqFreqDateDatarq=1&ne[sign]Datarq=[blank]](note that FreqDate was missing the Data suffix in the search string)... that is if I'm interpreting the problem right -- filling in a number ofblanks here. : )Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fhttp://www.toastdesign.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:
on 11/1/01 8:50 am, Dale Therio at stuff@colony.net so noted...> I need WC to interpret the value to be the field name.> > [search db=databases/zodiac.db&eqZodiacDateDatarq=[math]{[date]}[/math]> &eqFreqDaterq=1]> [math show=f]found=[numfound][/math]> [showif [found]=1]> [founditems]> [convertchars][sign][/convertchars]> [/founditems]> [/showif]> [/search]> > I detemine the needed value for [sign] using the showifs (to> find out what todays's zodiac sign is).> > The database has fields for date, freq, and the horoscopes for> each sign for this day.> > So for today I determine that if you were born today your sign> is scorpio, I search the database to find today's set of> horoscopes and find that record. I now need to display only the> field for scorpio.If I'm reading this correctly, the value for [sign] has been set *before*your search?Does your database look something like this?ZodiacDate FreqDate Aries Tarus Gemini (etc...)You can include [sign] as part of the search itself.[search db=databases/zodiac.db&eqZodiacDateDatarq=[math]{[date]}[/math]&eqFreqDateDatarq=1&ne[sign]Datarq=[blank]](note that FreqDate was missing the Data suffix in the search string)... that is if I'm interpreting the problem right -- filling in a number ofblanks here. : )Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fhttp://www.toastdesign.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/
Rob Marquardt
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:
PCS Customer submissions ? (1997)
Converting SQL Microtime to Date and Time (2003)
Help name our technology! (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Emailer & IMail List Server (1998)
[Webcat 2]Next (1997)
Help name our technology! (1997)
changing order number (1998)
Exclamation point (1997)
using webcat with web* & web*SSL (1998)
Re[3]: Hiding files/images. (2000)
email code (1998)
[WebDNA] WebDNA 7 on 8GB RAM server (2013)
Un[url]ize (1999)
Price characteristics? (1997)
[format 40s]text[/format] doesn't work (1997)
Using [showif] within [lineitems] [code fragment] (2000)
TCPconnect issue (2000)
[WebDNA] Facebook Application - Custom Tab for Fan / Non-Fan (2011)
using showpage and showcart commands (1996)