AnsweredAssumed Answered

Multiple attribute search

Question asked by aspectmedia on Dec 28, 2012
Latest reply on Dec 31, 2012 by philmodjunk

Title

Multiple attribute search

Post

     thank you for reading: I have a file of records of people with a number oif attribute. I would like to start a Find that asks the user to choose any attributes from a number of checkbox fields, and then continue the search. This portion works, but for the empty Find. I have tried to capture the error and returns a Dialogue, but I can't seem to get it to work.

      New Window

     Go to Layout

     Show all records

     Show/Hide Toolbars [Show]

     Show custom Dialog ["Check all boxes that apply. When you are done click Continue"]

     Set Error Capture [On]

     Enter Find Mode [Pause]

     // user action - user check boxes and click Continue button that runs dummy script with a "Resume" tag

     If[Get(LastError)=401]

        Show Custom Dialog ["No people found"]   // with OK

        Show All Records

        Close Window

        Exit Script[]

     End If

      

     However this never seems to capture the error. Also, how can I add a script step that continues the find step? Thanks

      

Outcomes