Subform Naming Issues...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have 4 subforms on my Main form. They are Data1, Data2, Data3 and Data4.
I can programmatically set the .sourceobject of these to any number of forms.
I also use code to set the .LinkMasterFields and .LinkChildFields.

It would be useful to me for the form currently residing in my subform
control to "see" the value of the .LinkMasterFields for it, even if it does
not have the focus.

These addressing issues are easy when the subform control has the focus but
when it doesn't it gets stickier.

Can anyone tell me how the form in my subform control can "read" the value
of the .LinkMasterFields even if the form doesn't have the focus?

Thanks in advance.

Bill

P.S., I am not having "linking issues" here. That works fine, I am simply
seeking to get the value of the .LinkMasterField to use in an equation.
thanks.
 
Hi,

I have 4 subforms on my Main form. They are Data1, Data2, Data3 and Data4.
I can programmatically set the .sourceobject of these to any number of forms.
I also use code to set the .LinkMasterFields and .LinkChildFields.

It would be useful to me for the form currently residing in my subform
control to "see" the value of the .LinkMasterFields for it, even if it does
not have the focus.

These addressing issues are easy when the subform control has the focus but
when it doesn't it gets stickier.

Can anyone tell me how the form in my subform control can "read" the value
of the .LinkMasterFields even if the form doesn't have the focus?

Thanks in advance.

Bill

P.S., I am not having "linking issues" here. That works fine, I am simply
seeking to get the value of the .LinkMasterField to use in an equation.
thanks.

me.parent.xxxxx gives you all of your mainform
If you expect an answer to a personal mail, add the word "manfred" to the first 10 lines in the message
MW
 
Back
Top