Does anybody know if it's possible to specify the name of a control created by CreateReportCon trol?
I have
and I can refer to the control as txtNew immediately after it's been created, but this is no use if I want to create several controls in one go and then refer to them later. I've tried
but then if I try to set
I get error "Object Required" - it doesn't seem to think that newname refers to the text box.
Does anybody have any ideas?
Cheers,
Peter.
I have
Code:
txtNew = CreateReportControl(...)
Code:
txtNew.name = "newname"
Code:
newname.Value = 5
Does anybody have any ideas?
Cheers,
Peter.
Comment