Why use a portal?
With a List view layout, the name, class and section Add fields can be placed in the header and the section shown in blue can be the body.
Define global fields for the three "add" fields. Use a script attached to the Add button to create a new record and transfer the data from the global fields to the correspoinding name, class, and section fields of the new record.
Thanks alot Phil, I am not that good with scripts please can you tell me how to create the ADD Script so the data can be transferred, also I want to make the Edit button script work how will I ?
This script assumes global storage for the three fields in the header:
Set field [YourTable::Name ; YourTable::gName ]
Set field [YourTable::Class ; Yourtable::gClass ]
Set Field [YourTable::Section ; Yourtable::gSection ]
The three fields starting with "g" are the global fields you'd define and place in the header.