I want to add a control to a DataReport dynamically, lets say a RptTextBox.
I run this code but i get a compile error: Method or member not found (Add is marked):
Set rptText = DR.Sections("Section1").Controls.Add("MSDataReportLib.RptTextBox", "RptTextBox1")
Does anybody knows how can i do this?
I run this code but i get a compile error: Method or member not found (Add is marked):
Set rptText = DR.Sections("Section1").Controls.Add("MSDataReportLib.RptTextBox", "RptTextBox1")
Does anybody knows how can i do this?