The main form has a button to find a record. I have a subform on the main form that has vba code to open a recordset and show a list of records. I would like that to happen when I click on the button on the main form.
I just need the code to be able to reference the vba in the subform from the main form so it will run.
Main form name: frmMain
Subform name: frmFCDBHeader
The code that needs to be called n the subform is: Public Sub FCDB()