[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Coordinated searching problem
****** message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
I am having a problem with a coordinated search and can't see what I've
got wrong. I think I need to flip my comparisons or use AND or OR search,
but I've tried a number of variations with no luck.
I want a search that returns matches for a value if it is between the
values in fields sizemin and sizemax. It's the reverse of mv_range_look.
What I have works, sort of, but only returns records where either sizemin
or sizemax are equal my value. Given the data below, my search only
returns records 1 and 3, but not 2. Any ideas?
code sizemin sizemax
1 50 100
2 50 150
3 100 150
4 150 200
Here's the code:
__NAME__ chksz
mv_coordinate=yes
mv_search_field=sizemin
mv_search_field=sizemax
mv_column_op=>=
mv_column_op=<=
__END__
<a href="[area href=scan arg="mp=chksz/se=100]">Size 100</a>
Thanks.
Christopher Thompson
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list