Hi Jeremy, I believe the restriction you are talking about -- for dynamic list box variables -- pertains **only** to the listbox column, **not** its headers and footers.
In other words, with the LISTBOX INSERT COLUMN command you can always use dynamic variables (think nil pointer) for the header and footer. But a dynamic column must always be an array (or formula.) When a formula, use LISTBOX INSERT COLUMN FORMULA. https://doc.4d.com/4Dv17R5/4D/17-R5/LISTBOX-INSERT-COLUMN.301-4128000.en.html <https://doc.4d.com/4Dv17R5/4D/17-R5/LISTBOX-INSERT-COLUMN.301-4128000.en.html> Best regards, Jeremy > On Jul 17, 2019, at 12:28 PM, Jeremy Roussak via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The documentation for LISTBOX INSERT COLUMN indicates that if a nil pointer > is supplied for the header variable, the variable will be created > dynamically, but that this works only for array type listboxes. > > The documentation for LISTBOX INSERT COLUMN FORMULA doesn’t indicate any such > restriction. > > In fact, supplying a nil pointer to LISTBOX INSERT COLUMN when adding a > column to a selection box works perfectly well: a longint variable is > generated. > > Am I treading on dangerous ground in using a nil pointer in the non-formula > version? Or is the documentation a little out of date? > > Jeremy ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************