When displaying a sub-form with in a main form, which form is based on the primary table?

Both the main form and the sub-form

The sub-form

The main form

Neither main form nor sub-form