I am using Crystal Report for VS.NET. I have placed a TextObject in Page Header section. I am accessing it from VB.NET program using code.
dim rep as new Report1()
dim t as TextObject
t = ctype( rep.reportdefinition.reportobjects("text1"), TextObject)
t.text = " some text "
But the problem is, i am not getting text displayed in cyrstal report. However, at the time of placing TextObject in crystal report if i am filling it with some data then data placed in VB.NET program is being dispalyed.
Though i found solution, i want to know the reason for this behaviour.
Does anyone have the same problem and know the reason for it.