General information
Category:
Forms & Form designer
Hi Jimmy.
>> How do I reference a control on another form from the current form? i.e. Thisform.controlname.value would be the value of a control on the current form. How do you say Theotherform.controlname.value? <<
Why should one form have to know anything about specific controls on another form? IMHO, this may indicate some problems with your design.
Having said that, if the second form is being called from the first, here is a trick that you can use. _Screen.Activeform still references the calling form when the called form's LOAD is executing. So, in this scenario, you can add a custom property to the called form called oCalledBy use code in the called form's load like this to save a reference to the calling form:
This.oCalledBy = _Screen.ActiveForm
Marcia
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only