Thanks Jeremy. Eric, this is working nice :
$range:=WP Text range(wpDoc;wk start text;4000) WP INSERT BREAK($range;wk section break;wk append) $section:=WP Get section(wpDoc;1) WP SET ATTRIBUTES($section;wk column count;2) $section:=WP Get section(wpDoc;2) WP SET ATTRIBUTES($section;wk column count;3) Cordialement, Bernard Escaich > Le 12 janv. 2020 à 03:27, Jeremy French via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Hi Eric, > > >> I see I can add a new subsection. > > Write Pro subsections pertain to headers and footers, not the document body. > > >> …trying to figure out how I would create new sew section object to append to >> a document > > Use the command "WP INSERT BREAK" with break type "wk section break”. > > >> I see I need to have a second section to change from a one column layout to >> a 2 column layout. > > > Beware section breaks currently create a new page, which may not be what you > want. > > Documents always start off with a single section numbered 1. > > To figure out what section you are in, use the "WP Get position" command. > > More info at: > > https://doc.4d.com/4Dv17R6/4D/17-R6/WP-INSERT-BREAK.301-4433899.en.html > > https://doc.4d.com/4Dv17R6/4D/17-R6/WP-Get-position.301-4433868.en.html > > > Best regards, > Jeremy French > > > > ********************************************************************** > 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 > ********************************************************************** ********************************************************************** 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 **********************************************************************