You have a table for the main form and a table for the sub form?
Need more info
- what the forms are tied/linked to (or are not)
- what is to happen if you try to save either the main form record but haven't filled in all of the 25 related records?
You might want to have a temp table for the 25 records (and maybe another for the main) and populate it with a SELECT query that appends the main record id 25x as well as numbers 1 to 25 in another field. The subform would be based on the temp table, whose records you'd save to the main subform table when ready. When some action commits all of this, you wipe the temp table for the next time.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.