matrixindicator
IS-IT--Management
Hoy, to make my code more resuable in different forms I need to pas the name of the form into a variable. I search on previous thread but could find the right syntaxis. How to ?
Code:
Dim frmName As String
frmName = Forms!Form.Name
Forms![& frmName &].RecordSource = Forms![& frmName &].RecordSource