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

Calculate Report Value

Status
Not open for further replies.

elead

Technical User
Apr 20, 2001
38
US
Below is a calculated field formula from a crystal report.
I need to accomplish the same thin in Access. I was wondering if someone could show how it would be constructed in an MSAccess report calculation--Thanks

If {tblAgentTotals.Total_HFPCT} >= 0.275 And {tblAgentTotals.Total_HFPCT} <=0.349 AND {tblAgentTotals.Top25}=25 AND {tblAgentTotals.Total_HF} > 30 Then
20

Else {tblAgentTotals.Total_HFPCT} >= 0.275 And {tblAgentTotals.Total_HFPCT} <=0.349 AND {tblAgentTotals.Top50}=50 AND {tblAgentTotals.Total_HF} > 30 Then
15

Else {tblAgentTotals.Total_HFPCT} >= 0.275 And {tblAgentTotals.Total_HFPCT} <=0.349 AND {tblAgentTotals.Total_HF} > 30 Then
10

Else If {tblAgentTotals.Total_HFPCT} >=0.35 AND {tblAgentTotals.Top25}=25 AND {tblAgentTotals.Total_HF} > 30 Then
30

Else If {tblAgentTotals.Total_HFPCT} >=0.35 AND {tblAgentTotals.Top50}=50 AND {tblAgentTotals.Total_HF} > 30 Then
22.50

Else If {tblAgentTotals.Total_HFPCT} >=0.35 AND {tblAgentTotals.Total_HF} > 30 Then
15
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top