AnsweredAssumed Answered

Sort Order Script

Question asked by ha-thrapp on Jun 21, 2013
Latest reply on Jun 21, 2013 by philmodjunk


Sort Order Script & IWP


     I have two reports that I set up for a database. When I set them up, I indicated a sort order for a sort order script to run when the report layouts are open. The scripts work GREAT in FileMaker Pro. My reports come out in an easy to read sort order. Problem is that in IWP, they don't sort in the correct order. Instead of sorting alphabetically by category, manufacturer, part number, and then description (as specified in the sort order script), records are sorting by one of my stock location level numbers. I have no other scripts but this one set to run on an event (I have checked and re-checked my layout set several times).

     Now, I am not very familiar with scripts, and this whole database has been a learning I let FMP set it up when I created the report layout. The script looks pretty straightforward and reads:

     Go to layout ["Network Stock Report" (Inventory Product List)]

     Sort Records [Restore; No dialog]

     What am I missing to get this to work on IWP?