Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get non-databound text into a text box from Visual Basic 6.0

Status
Not open for further replies.

JKA

Programmer
Feb 5, 2002
1
US
I have instansiated a crystal reports report and would like to pass string values to an unbound text field (an empty text box) in the report header. I have tried to use the InsertText method of TextObject, but have had very little success. I am avoiding the user the .OCX file and would like to use the API exclusively.
Can anyone HELP?
 
You must be use a formula field in your report. After, you use the property text from report.
You type in your program

Report.FormulaFields(1).Text = "'hola'"

...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top