I have a main form (frmMaintenance) with a subform (frmMaintenance_Subform).
The subform has only one unbound control (text box) that I want to use to display records from different tables. I have been able to set the data source of the subform using VBA (see code below)
Private Sub...