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

Lawson History Table help

Status
Not open for further replies.

Bronnad

Programmer
Jul 2, 2012
16
US
I am running a report that pulls from a history table.
I have 2 fields...

1- salary on 2/27/2012 (date of merit increase)

if {Salary History.BEG_DATE} = #2/27/2012#
then
if{Salary History.SALARY_CLASS}="Hourly"
then{Salary History.PAY_RATE}*{Salary History.ANNUAL_HOURS}
else{Salary History.PAY_RATE}

2- salary before 2/27/2012 (salary before merit increase)

if {Salary History.BEG_DATE} < #2/27/2012#
then
if{Salary History.SALARY_CLASS}="Hourly"
then{Salary History.PAY_RATE}*{Salary History.ANNUAL_HOURS}
else{Salary History.PAY_RATE}

Your assistance would be greatly appreciated.
 
Okay...

I created a s Sub-Report that gives me the data I want to populate in the Pre-Merit field.
The reports are not linked.
I Just want to display the results from the formula in the Group Footer from the Sub-Report.

The date range in the Main is {PRRATEHIST.BEG_DATE} in DateTime (2008, 01, 01, 00, 00, 00) to DateTime (2012, 02, 27, 00, 00, 00)

The date range in the SUB is {PRRATEHIST.BEG_DATE} in DateTime (2008, 01, 01, 00, 00, 00) to DateTime (2012, 02, 26, 00, 00, 00)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top