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!

Get my form variables on Crystal Report 8.5

Status
Not open for further replies.

me4u

Programmer
Sep 27, 2001
6
US
I want to display my text box values on a crystal report header.

@StartDate=txtStartDate
@EndDate=txtEndDate

I know we can use FormulaFields(1) but how?

I could do it easily using Crystal Report 4.5. Now I got newer version of CR 8.5.

Any help will be appreciated.

Thanks

 
This works with crystal 6.0

rpt_BRL.Formulas(1) = "ReturnBy = 'Please review and return by: " & _
Format(DateAdd("d", 10, Now()), "MM/DD/YYYY") & "'"


ReturnBy is a formula field in my crystal report
 
If you are using the RDC and give your objects a name other than text34 (etc) you can also set the object text much the same was as a standard VB control:

Report.txtPriorAuth.SetText rsClaims!authno

I believe this should work for a formula:

Report.FormulaFields(1).Text = ""

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top