Re: Named selection based List Box
John, We've been using "Named Selection" list boxes from the beginning to display different selections from the same table. It works like a charm. The only issues arise when you want to edit a particular record. It's doable but you have to handle all the loading and unloading yourself. Regards, Scott Wirth -- View this message in context: http://4d.1045681.n5.nabble.com/Named-selection-based-List-Box-tp5747151p5747216.html Sent from the 4D Tech mailing list archive at Nabble.com. ** 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:4d_tech-unsubscr...@lists.4d.com **
Re: Named selection based List Box
You betcha and as a named selection sorting stays. I have used it as well. Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com > On Aug 31, 2016, at 4:33 PM, John Baughman <john...@hawaii.rr.com> wrote: > > 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:4d_tech-unsubscr...@lists.4d.com **
Named selection based List Box
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:4d_tech-unsubscr...@lists.4d.com **