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

Crystal report formula field query

Status
Not open for further replies.

joshidharmesh

Programmer
Dec 8, 2017
5
IN
Hello,

I am preparing a crystal report. I have following summary fields in it.

Minimum of SrNo
Maximum of SrNo



I want to display (Maximum of SrNo - Minimum of SrNo) +1

I have created a formula field named tickets. I am writing the formula as in following picture
Formula_zsglvu.png


I am getting an error "A statement is expected here" & cursor moves to start of the formula.

Can anyone explain?

Thanks,

Dharmesh Joshi
 
For BASIC syntax, replaced {@Tickets} with the word formula

formula = Maximum ({Booking.SrNo}....
 
Just remove: {@Tickets}=

You are also in the wrong forum. Should be in Business Objects: Crystal Reports 1 Formulas.

-LB
 
lbass: Since they are using BASIC syntax. The 'formula =' is required.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top