I have created User Control, that, among others, also has the property: PRINTset that in appropriate formats is set as the relevant Data Report. Within the User Control code I can not envoke the method Show (it's not available) in order to show that report on the screen. Print Report and Export Report are available and work OK.
....
Private mPRINTset As DataReport
....
Public Property Get PRINTset() As DataReport
Set PRINTset = mPRINTset
End Property
Public Property Let PRINTset(ByVal vNewValue As DataReport)
Set mPRINTset = vNewValue
End Property
.....
mPRINTset.ExportReport ' That work! Ok.
mPRINTset.PrintReport ' That work! Ok.
mPRINTset.Show ' Doesn't work! Why??
....
....
Private mPRINTset As DataReport
....
Public Property Get PRINTset() As DataReport
Set PRINTset = mPRINTset
End Property
Public Property Let PRINTset(ByVal vNewValue As DataReport)
Set mPRINTset = vNewValue
End Property
.....
mPRINTset.ExportReport ' That work! Ok.
mPRINTset.PrintReport ' That work! Ok.
mPRINTset.Show ' Doesn't work! Why??
....