|
-
Dec 16th, 2007, 09:03 PM
#1
Thread Starter
Member
[RESOLVED] Pls. Help with DataReport1 - "Invalid Data Source"
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...
I'm maybe a noob now, but with your help, i would become an expert someday 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|