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

VB Pass $ to subreport formula

Status
Not open for further replies.

IDoWindows

Programmer
May 18, 2001
14
US
I'm trying to generate a report from Visual Basic which has several subreports. Each of these subreports contain formulas for passing strings from VB5. I have been accessing the formulas of the main report like this:

CrystalReport1.Formulas(0) = "Name=" & "'" mvName & "'"

...where mvName is a variable in the VB code.

How can I set the values of the formulas in the subreports?

Thanks!
 
I decided that all of the string passing could be done in the main report, arranged above or below each subreport... Don't know of any way to reference a subreport formula from VB 5... :|
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top