[ic] Nested-IFS and Inner-IFS keep breaking

John Beima jbeima@reality.palb.com
Sat, 28 Oct 2000 06:29:07 -0600 (MDT)


A far simplier way would be to use a scratch variable...

First off, if there is nother selected have the search field be empty...

Then do this....

[set result][/set]

[if value model]
[seti result][value model][/seti]
[/if]
[if value make]
[and scratch result]
[seti result][scratch reslut], [value make][/seti]
[else]
[seti result][value make][/seti]
[/else]
[/if]
[if value year]
[and scratch result]
[seti result][scratch reslut], & [value year][/seti]
[else]
[seti result][value year][/seti]
[/else]
[/if]

[if scratch result]
[scratch result]
[else]
<P>
You have selected nothing!
</P>
[/else]
[/if]

[set result][/set]

That should be MUCH faster.


John Beima
jbeima@palb.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6