Restrict number of records for a portal
I have an invoice layout with a portal that can display a miximum of 22 records. I would like to restrict the number of related records to the same number (22). Does this have to be done within the script that is adding new records to the portal or is there a simple limit setting? I'm using a portal rather than fields as the records need to be slid up and down within the portal when the values and data are entered and invariably updated.