SteveWillett
Programmer
I have a form which can be opened from two other forms. I need to be able to refer to the opening form in a VBA subroutine in the opened form. How can I do that? I have tried passing the opening form name as an OpenArgs to the open_Form method and storing it in a String variable, myCallingForm. However, this does not seem to work when I try to access the calling form from the Forms collection.
Forms![ReScreen Form]
works to access fields on the form but
Dim myCallingForm As String
myCallingForm = "ReScreen Form"
Forms![myCallingForm]
does not. Is there a way to do what I want?
Forms![ReScreen Form]
works to access fields on the form but
Dim myCallingForm As String
myCallingForm = "ReScreen Form"
Forms![myCallingForm]
does not. Is there a way to do what I want?