P
Paul
Hi
I have an 'agreement' form where the subform 'source object' can be changed
dynamically to one of six different 'agreement detail' forms.
I want to reference the code on the subform (all six forms contain this
code, but I need to call the code on the subform that is showing).
The subform control is named sbfrmAgreementDetails,
I have tried: Me.sbfrmAgreementDetails.Form.Form_Resize
However, because the name of the subform control does not match the name of
the sourceobject form, this code does not work.
The form that is the source object could be:
sbfrmAgreementDetailSafety, or
sbfrmAgreementDetailLogitstics, or
sbfrmAgreementDetailDistribution, etc
depending on the type of agreement selected in the main form.
I can't seem to get the syntax right to call the Form_Resize event of the
form specified in the SourceObject property of the subform.
I hope the above is clear! Can anyone suggest a solution?
Thanks
Paul
I have an 'agreement' form where the subform 'source object' can be changed
dynamically to one of six different 'agreement detail' forms.
I want to reference the code on the subform (all six forms contain this
code, but I need to call the code on the subform that is showing).
The subform control is named sbfrmAgreementDetails,
I have tried: Me.sbfrmAgreementDetails.Form.Form_Resize
However, because the name of the subform control does not match the name of
the sourceobject form, this code does not work.
The form that is the source object could be:
sbfrmAgreementDetailSafety, or
sbfrmAgreementDetailLogitstics, or
sbfrmAgreementDetailDistribution, etc
depending on the type of agreement selected in the main form.
I can't seem to get the syntax right to call the Form_Resize event of the
form specified in the SourceObject property of the subform.
I hope the above is clear! Can anyone suggest a solution?
Thanks
Paul