Change caption of the text in RUNTIME 
Author Message
 Change caption of the text in RUNTIME

Hi,

Please help, how can I change caption of the text control which is kept in
Report Header.

Sanjay



Fri, 26 Aug 2005 20:02:41 GMT  
 Change caption of the text in RUNTIME
Insert a report title (Insert special field) in the Report Header
Before printing, add code =

Crystalreport.ReporTtile = "What ever you want the title to be"
CrystalReport.PrintReport

Gilles.

Quote:
> Hi,

> Please help, how can I change caption of the text control which is kept in
> Report Header.

> Sanjay



Sat, 27 Aug 2005 20:55:36 GMT  
 Change caption of the text in RUNTIME
if you are using RDC with VB6 & report format as .dsr within VB6 you can use

crRep.ControlName.SetText "Text whatever you want"


Quote:
> Hi,

> Please help, how can I change caption of the text control which is kept in
> Report Header.

> Sanjay



Sun, 28 Aug 2005 12:29:25 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ???Change column captions on dbgrid at runtime???

2. Change caption of a label in DataReport at runtime

3. Change the caption in a text box programmatically

4. Permanently change a text label's caption?

5. How to change caption on a sub from text on main form

6. Button Captions - Can I change the text color?

7. How to gain access to the JPEG file header, changing text captions

8. Change label caption in userform on change of dropdown listbox

9. Label Caption Doesn't Change When Changed

10. Receiving runtime error 430 when trying to change voice in MS Text-to-speech (Directss1.select)

11. Changing borderstyle of text box at runtime?

12. Changing TextBox.Text Property at Runtime- PLEASE HELP

 

 
Powered by phpBB® Forum Software