In the code of a form you can use the following code to retrieve the form name.
temp = Me.FormName
Well, I have this function (seen below), and I can't retrieve the form name, and I was wondering why this is not working?
Public Sub Close_Form(frm As Form)
DoCmd.Close acForm, frm.FormName
End Sub
**Please remember that this is not the real entire function, I just took this line out.
Thanx in advance for any help that can be given.
temp = Me.FormName
Well, I have this function (seen below), and I can't retrieve the form name, and I was wondering why this is not working?
Public Sub Close_Form(frm As Form)
DoCmd.Close acForm, frm.FormName
End Sub
**Please remember that this is not the real entire function, I just took this line out.
Thanx in advance for any help that can be given.