comment Posted August 26, 2009 Posted August 26, 2009 A workaround for the annoying "keep sorted" behavior of version 10. SortOnce10.fp7.zip
bcooney Posted August 26, 2009 Posted August 26, 2009 Wow, what a great use of the Replace command. I was so happy to NOT see a recursive custom function to gather the IDs. Love it!
Raybaudi Posted August 28, 2009 Posted August 28, 2009 Hi comment may be I didn't understand but why not use a "dummy" empty field ? If the last sort is by that, records will not move to another position. SortOnce10MOD.zip
comment Posted August 28, 2009 Author Posted August 28, 2009 Because sorting by empty field is sorting by creation order (same as Unsort Records).
Raybaudi Posted August 28, 2009 Posted August 28, 2009 Ok, I can see it. But, what if the dummy number field contains serial numbers starting from 1, setted by a replace field contents ? 3 script steps and only 1 more field.
Raybaudi Posted August 28, 2009 Posted August 28, 2009 (edited) ? Your Replace[ ] doesn't get the record looking ? Edit: OK, I understand now why you used a global field. Edited August 28, 2009 by Guest
comment Posted August 28, 2009 Author Posted August 28, 2009 It's not (only) about record locking; each user can have their own sort order.
comment Posted September 10, 2009 Author Posted September 10, 2009 An alternative method has been suggested in several places, e.g. http://forum-en.filemaker.com/fm/board/message?board.id=aut&message.id=957#M957 http://www.ulearnit.com.au/blog/?p=62 It is based on auto-sort being suspended while a script is in progress - so if you make sure you have a paused script during data entry, records will not auto-sort.
Recommended Posts