Page Breaks

Rob Cozens rcozens at pon.net
Sun Feb 8 10:14:29 EST 2004


>This s true, but I would rather have a single print job so my question
>still remains.  Is there a way to force a page break in a field?

Stewart:

On Macs (assuming four component fields, "Component Field 1" through 
"Component Field 4"):

	put numToChar(12) into formFeed
	put (field "Component Field 1") into textToPrint
	repeat with x = 2 to 4
		put formFeed&(field ("Component Field")&&x) after textToPrint
	end repeat
	revPrintReport textToPrint

If form feed is not numTohar(12) on other platforms, this will have 
to be adjusted.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list