I'm trying to use this code
but I get an "Invalid use of property" error
also tried this, but with the same result (ControlName is the name of one of the controls on the form)
Code:
dim frmFormName as Form
frmFormName = Me
but I get an "Invalid use of property" error
also tried this, but with the same result (ControlName is the name of one of the controls on the form)
Code:
dim frmFormName as Form
frmFormName = Me.ControlName.Parent