G
Guest
I'm trying to use a form name as a parameter to use it when this form is
opened to recalculate it from another (modal) form. I have just the one modul
form. But, to be recalculated forms can be different. This is why I'd like to
get a reference to know which one is opened.
Dim strFormName As String
Private Sub Form_Load()
strFormName = Trim(Me.Name)
fnFormName(strFormName)
End Sub
But, how is it possibleto get the reference on that to be recalculated form?
In the modal form something like the following:
[Forms]![& strFormName &].Recalc - unfortunately, it's not working
Thanks
opened to recalculate it from another (modal) form. I have just the one modul
form. But, to be recalculated forms can be different. This is why I'd like to
get a reference to know which one is opened.
Dim strFormName As String
Private Sub Form_Load()
strFormName = Trim(Me.Name)
fnFormName(strFormName)
End Sub
But, how is it possibleto get the reference on that to be recalculated form?
In the modal form something like the following:
[Forms]![& strFormName &].Recalc - unfortunately, it's not working
Thanks