Hello, I have a table of Standard Opertaing Procedure's where each record has a Category, Sub-Category (specific to Category), Name, Number, and Description. My goal is to have an initial screen where the user selects the Category and Sub-Category and hits a Search button to go to a Data Table with the SOP's that match the selected Sub-Category. For reference, the Category and Sub-Category drop down controls each utilize a Distinct formula since I only want the drop down to have unique entries.
I have been struggling to write the Filter command in the Items property of the Data Table. I have tried to use the following formulas but keep getting Errors:
FIlter (SOP_Table, SubCategory = Dropdown2.Selected)
Filter (SOP_Table, SubCategory = Text(Dropdown2.Selected))
Filter (SOP_Table, Dropdown2.Selected in SubCategory)
Filter (SOP_Table, StartsWith(SubCategory, Dropdown2.Selected))
Search (SOP_Table, Dropdown2.Selected, "SubCategory")
Search(SOP_Table, Text(Dropdown2.Selected), "SubCategory")
The error message is usually Invalid Argument Type or Unexpected Input. I've tried the Text function to get around the unexpected input but that doesn't work. For a control, I ran the filter command using the selected Sub-Category but just manually entered in quotation marks (" ") to see if the filter command actually works and it filtered properly.
Please help!