March 25, 200322 yr Hello, I was wondering how to do multiple selection from pop-pop menu. This is the script i have right now, it work fine but i want to do multiple selection while holding the shift key. This is the Script, i have which fine: Set Error Capture [On] Allow User Abort [On] Enter Find Mode [] Set Field ["Locations","Locations_list"] Set Field ["Status","Status_list"] Set Field ["Class","Class_list""] Set Field [Year","Year_list] Peform Find [] If ["Status(CurrentError) = 401"] Show Message ["There were no records matching the criteria you selected"] Find All Else Go to Layout ["Summary"] End if Thank you, SolarPunk
March 25, 200322 yr First of all, I presume the "whatever_list" fields are globals. Now to your question: If you're doing multiple finds, don't mix up your "and" and "or" logic. If you want to find all items in which the contents of a field is either "A" or "B", you need separate find requests (i.e. after doing all the "set field" steps, you need a "new record/request/page" script step, followed by data entry, then perform the find). If you want to find all items in which the contents of a field is "A" AND "B", then you need to enter both values in the field. In this case, I recommend using check boxes (in the global fields) for manual entry.
March 25, 200322 yr Author Thanks, yes, the whatever_list are global fields. i will look into what you say. thank you, Solarpunk
Create an account or sign in to comment