I was testing different scenerios...
I created a formula and assigned a number.This formula would act as a link to the subreport. Even this did not work.
I tried the advice given by SynapseVampire, to make sure that at least "some" data is returned in the main report. This worked.
I...
Crystal 8.5 VB 6.0 Access 2000
Subreport is linked to ID field of main report.
File-Report Options-Suppress Printing if no records-Option is unchecked.
Tried to play around with different scenerios.
created a formula, inserted a valid ID number in the formula, and placed it on the report...
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.