Hello Everyone,

Im trying to to assign a value, lets say "This is my text", to a label1 on my
datareport1, and it raised an error "Invalid Data Source"...

my code here
Code:
DataReport1.Sections("Section2").Controls("Label1").Caption = "This is my Text"
even this also raised the same error
Code:
DataReport1.Sections("Section2").Controls("Label1").Caption = form1.Label1.Caption
How could i change the caption of Label1 in DataReport1 at runtime???

No, I dont want that DataReport1.DataSource be assign to any database, i only want that Label1.Caption, or any controls therein to be change at runtime, is that possible?

Thank you for any reply...