How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.
Do more with
Select Case Me!TabCtl28.Pages(Me!TabCtl28.Value).Name
Case "MTK Summary"
Me.subfrmMTKSummaryDatasheet.SourceObject = "subfrmMTKSummaryDatasheet"
' etc....
Select Case Me.tab_ControlName.Pages(Me.tab_ControlName).Caption
Case "Details"
if me.sub_Details.SourceObject = "" then
me.sub_Details.SourceObject = "frm_Details_Subform"
me.sub_Details.LinkMasterFields = "[TransID]"
me.sub_Details.LinkChildFields = "[TransID]"
end if
The advantage of this method is that it will only reset the SourceObject if it has not already been established, and it ensures that the main form and subform are linked properly.
Premium Content
You need an Expert Office subscription to comment.Start Free Trial