List Box has been getting a great deal of discussion and one thing I have noticed is that the Named Selection based list box is rarely mentioned and on at least one occasion was referred to as not being of much use.
I recently had the requirement for a form that included 3 lists displaying different selections from the same table. In the past I would have used arrays in either list boxes or ALPro areas. This time I decided to give Named Selection based list boxes a try and was pleasantly surprised how easy it was to setup and maintain. If I had used arrays, with each list displaying 6 fields I would have had to create and maintain more than 18 arrays. With Named Selections I could do the same thing without any arrays. Changing the selections is a simple matter of clearing the Named Selection for each list box and creating a new one. Way less code than would be required to update 3 sets of arrays. So much easier, and very powerful. ********************************************************************** 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] **********************************************************************

