Crystal report TextObject at runtime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Can somebody tell me a way to change the value of a textobject in a report at runtime. By the way if anyone know a way to know how many page my report are going to had in code it will be appreciate to

Thanks for your help.
 
I find my answer and there it is :

t = Etat.ReportDefinition.ReportObjects("TextObjectName")
Text1 .Text = t.Text

if you have a message it tell you you can't access the object or something like this(don't knoow the message in english) save your report before build you program.

bye
 
Back
Top