Hello - hoping for a bit of help with a search form issue. Would like for users to be able to search for properties in multiple neighborhoods, at a price less than X, etc.
Right now Iโm just trying to get the multiple neighborhoods piece to work.
Selecting one neighborhood generates the expected results. However, selecting more than one yields no results.
The current expression Iโm using in the Behavior/app target is:
LINKTOFILTEREDVIEW(โAllProperties_Resultsโ, ([Neighborhood_name] = [_THISROW].[Neighborhood_name]
))
Any advice on how to get the selecting multiple neighborhoods to work?
And separately, is there a way to create a default where all neighborhoods are selected when the search form is opened?
Some additional info on table/column types below in case itโs helpful.
Search Form (Data Table):
Neighborhood_name โ column type is enumlist w/ Valid if expression of Neighborhood[Neighborhood_name]
Property List (Data Table):
Neighborhood)name โ column type is enumlist w/ Valid if expression of Neighborhood[Neighborhood_name]
Neighborhood (Data Table):
Neighborhood_name column type is name
AllProperties_Results (Ref View) pulls from the Property List Data Table
Solved! Go to Solution.
Because the Neighborhood_name column of the Search Form table is EnumList, change this part of your LINKTOFILTEREDVIEW() expression:
([Neighborhood_name] = [_THISROW].[Neighborhood_name])
to this:
IN([Neighborhood_name], [_THISROW].[Neighborhood_name])
Set the Initial value property for the Neighborhood_name column of the Search Form table to the same expression used for its Valid If property (i.e., Neighborhood[Neighborhood_name]
).
Because the Neighborhood_name column of the Search Form table is EnumList, change this part of your LINKTOFILTEREDVIEW() expression:
([Neighborhood_name] = [_THISROW].[Neighborhood_name])
to this:
IN([Neighborhood_name], [_THISROW].[Neighborhood_name])
Set the Initial value property for the Neighborhood_name column of the Search Form table to the same expression used for its Valid If property (i.e., Neighborhood[Neighborhood_name]
).
Much appreciated - worked a treat. Thanks for the assist, Steve.
User | Count |
---|---|
35 | |
30 | |
30 | |
20 | |
18 |