Crystal report TextObject at runtime

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top