What are you trying to achieve?
agnes b. riley . filemaker and web development
T 201-299-6223 (NJ) . 212-842-8830 (NY) . 917-660-7221 (C)
FileMaker Certified in 10 and 11
I agree with Agnes that you might want to compose your question a bit more fully and articulately, before folks will chime in to help. That said, I'll attempt an interpretation and offer an answer, in the hope that it helps: You want to be able to programmatically change the number of rows that a portal displays, using a calculation. Is this correct? If so, the answer is that this is not currently possible. (There may be some clever workarounds/layout tricks, perhaps using tab panels or a web viewer, I'm not sure.)
You can get close...you can limit the number of records using filtering and you can format the portal so only those records show, but you still can't use the space on the layout the extra portal rows take up. See attached.
Thanks for that technique, David.