I’d like to add just one small point. I use both an object array approach and the “key in key” approach. Key in key is definitely faster for lookup when you know the key to look up. But I find arrays easier to deal with if the order matter in some way. For example, if an object array is a hidden column in listbox, it is really nice to know that all the information associated with that “row” is being moved automatically when a row is dragged to a new position.
There are definitely pros and cons for each approach. -- Cannon Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 <[email protected]> <www.synergyfarmsolutions.com> > On Jan 7, 2017, at 3:38 PM, David Adams <[email protected]> wrote: > > All the same, I think I'll use the solution from Justin Leavens and Rob > Laveaux. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

