numero = 50182
interpreted = N
texte = Doh! Here's why it works:[search db=catalog.txt...&eqitemdatarq=[item]&itemsumm=T] [founditems][searchdb=catalog.txt&eqitemdatarq=[item]...&colorsort=1&colorsdir=as&sizesort=2&sizesdir=as&sizetype=num][if ([color]=)&([size]=)][else]
Select Your Color / Size
[/else][else] [founditems] [/founditems][/else][/if][/search][/founditems][/search]The item is being carried from a previous template.> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf> Donovan> Sent: Friday, May 09, 2003 12:37 PM> To: WebDNA Talk> Subject: Re: If search results are blank...> > Kimberly D. Walls wrote:> > >I plugged it in and it works. ??> >> You have tested with blank fields?> > >> >> >>[search>db=catalog.txt...&colorsort=1&colorsdir=as&sizesort=2&sizesdir=as&sizetype> =num]> >>[if ([color]=)&([size]=)]> >>> Above there is no founditems loop so how does the search know what the> value is? My guess is all the> [then] equation is always returning false so the [else] code is always> getting issued.> > Laurents looks good to me... its finding all valid records and> displaying them.> > Donovan> > >>[then][/then]> >>[else]> >>> >>[/else]> >>[/if]> >>[/search]> >>> >>Regards,> >>Tim> >>> > > -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Doh! Here's why it works:[search db=catalog.txt...&eqitemdatarq=[item]&itemsumm=T] [founditems][searchdb=catalog.txt&eqitemdatarq=[item]...&colorsort=1&colorsdir=as&sizesort=2&sizesdir=as&sizetype=num][if ([color]=)&([size]=)][else]
Select Your Color / Size
[/else][else] [founditems] [/founditems][/else][/if][/search][/founditems][/search]The item is being carried from a previous template.> -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On BehalfOf> Donovan> Sent: Friday, May 09, 2003 12:37 PM> To: WebDNA Talk> Subject: Re: If search results are blank...> > Kimberly D. Walls wrote:> > >I plugged it in and it works. ??> >> You have tested with blank fields?> > >> >> >>[search>db=catalog.txt...&colorsort=1&colorsdir=as&sizesort=2&sizesdir=as&sizetype> =num]> >>[if ([color]=)&([size]=)]> >>> Above there is no founditems loop so how does the search know what the> value is? My guess is all the> [then] equation is always returning false so the [else] code is always> getting issued.> > Laurents looks good to me... its finding all valid records and> displaying them.> > Donovan> > >>[then][/then]> >>[else]> >>> >>[/else]> >>[/if]> >>[/search]> >>> >>Regards,> >>Tim> >>> > > -------------------------------------------------------------> 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 digest@talk.smithmicro.com>> Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Kimberly D. Walls
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...