Bob, I think you want OBJECT get data source <http://doc.4d.com/4Dv17/4D/17/OBJECT-Get-data-source.301-3730453.en.html>. It will return a pointer and then you can user RESOLVE POINTER to figure it out.
Note: this isn't a complete solution if you are associating the listbox with a collection or object as you an do in v17 ( and probably v16r something). In those cases it returns Nil and I'm not sure they have thought of a way of informing us what the source is. In a way it doesn't matter in this instance since you couldn't manipulate the source by manipulating the listbox object anyway but it would still be nice to be able to know. On Tue, Jul 24, 2018 at 9:56 AM Bob Miller via 4D_Tech <[email protected]> wrote: > Is there a way to tell through the language whether a listbox is an "Array > Type" listbox or a "Field Type" listbox? > > I have a listbox that is a "Field Type" listbox, but all it contains is > formulas that point to fields, so I'm having fits trying to find out how > to identify the type through code... > -- Kirk Brooks San Francisco, CA ======================= *We go vote - they go home* ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

