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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displays as a number instead of a string

Status
Not open for further replies.

kellnic79

Programmer
Apr 22, 2005
4
US
At runtime:
I open a subreport and assign a string value to a formula.
The formula is displayed in the report header of the subreport.
When I run the report, it displays as numbers.
 
Hi,
To paraphrase a line from Jerry McGuire:
"Show us the Formula.."

[profile]
 
A blank formula is added to the report header of the subreport (Formula 1)

Dim cr As CRAXDDRT.Report

Set cr = CRMainReport.Subreport1.OpenSubreport
cr.FormulaFields(1).Text = "TEST"

I step through the code to make sure it is actually being
assigned to the formula field.

When I run the report, the formula's contents are display as numbers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top