Hello:
I have a search form that filters a botanical db table of about 5000+ records.
Three of the elements in that list deal with height:
min_height (field)
max_height (field)
height (calc that returns the first 2 with a separator)
I tried a dbjoin element that queries the height element, but when I use a dropdown, the list displays the height for every single plant.
This returns an empty result - the search url uses the row id for the height value. Same issue with auto-complete.
Many of the plants have the same height (e.g. 8 - 10).
Select Distinct on the height field shows 184 variations.
Is there a way to have this search element return all the plants for a range (like 8 -10 or 10 - 20)?
Would a field in another table that contains all the distinct height values help?
Thanks in advance,
Alan
I have a search form that filters a botanical db table of about 5000+ records.
Three of the elements in that list deal with height:
min_height (field)
max_height (field)
height (calc that returns the first 2 with a separator)
I tried a dbjoin element that queries the height element, but when I use a dropdown, the list displays the height for every single plant.
This returns an empty result - the search url uses the row id for the height value. Same issue with auto-complete.
Many of the plants have the same height (e.g. 8 - 10).
Select Distinct on the height field shows 184 variations.
Is there a way to have this search element return all the plants for a range (like 8 -10 or 10 - 20)?
Would a field in another table that contains all the distinct height values help?
Thanks in advance,
Alan