The following statement, generated by the Form designer, assigns the data module’s primary rowset, the one in its teacher1 query, as the form’s primary rowset.

this.rowset = this.dataModRef1.ref.teacher1.rowset