I have created the view, search form, etc. I have a query field which is populating the URL using the $$return method. All works fine except:
I cannot work out how to bring up documents that contain different values within one field.
For example, the database holds documents which are French properties for sale. On the search form the users can select a region from a drop down box and then through a series of tick boxes are able to tick what types of properties they want to see within that region.
This is an example of a query that works fine:
[PropFRRegion] EQUALS Alsace AND [PropertyMainTypeLookup] EQUALS Character Property
As does this:
[PropFRRegion] EQUALS Alsace AND [PropertyMainTypeLookup] EQUALS Villa
Problem is when I try to search for a few types within one region like this:
[PropFRRegion] EQUALS Alsace AND [PropertyMainTypeLookup] EQUALS Character Property OR Villa
It will then bring up villa’s within all regions and not just in Alsace.
Hope that makes sense, can someone help me with how I need to structure the string.
Yes, you can use parens over the web. In fact, most of my search pages for domino includes a “search within the results” capability. All I do is take the original search, wrap in parens and add on the new search.
It took me a little while to build the query field which collates the information from the form and then feeds into the $$return but it is now done and works fine.