2 Replies Latest reply on Jun 29, 2017 9:04 AM by lindseym

    Script Perform Find with drop down field value


      I know this topic has almost been beat to death on the forum, but even after looking up I am stumped- though I have learned a few things.



      What I want:


      I want to select a value from a drop down list, and on modify I want a script to run that will find all instances of the selected value.


      What I get:

      Screen Shot 2017-06-28 at 4.53.54 PM.png


      However, when I go to modify find field and enter in a value I know is existing, it works fine.



      Here is what my layout and browse modes look like:

      Screen Shot 2017-06-29 at 8.21.52 AM.png


      Screen Shot 2017-06-29 at 8.22.10 AM.png

      I selected 2.00 from the drop down list and as soon as I did that I get this

      Screen Shot 2017-06-29 at 8.22.29 AM.png

      I pushed Modify Find, and enter 02.00 in the correct column to search (the field name is Dwg Sheet C, the header just Dwg. Sheet)



      Screen Shot 2017-06-29 at 8.22.42 AM.png

      Push find...

      and it finds dwg 02.00 instances

      Screen Shot 2017-06-29 at 8.31.50 AM.png

      And hereis why my script looks like.. which is triggered by "On Modify" which I believe means that once the drop down is selected it will run on script


      Screen Shot 2017-06-29 at 8.23.05 AM.png


      I believe the script reads as:


      Click the Find Mode button, go to the field "Dwg Sheet C" and put the contents of "Drop Down for Sign Types" in the field, click the perform find button.


      I can't figure out where the hold up is.