FunkyBunch
Instructor
I am currently working on a report that needs to display mounted equipment transfers, additions, and deletions.
This is my formula to check if it is a transfer:
Stringvar MEChanger;
if {user_defined20_fw.archive_status_fw} = 'A' then
MEChanger := 'Deletion'
else if ({Count_access_equip_FW__From_ME_History.count(access_equip_Fw)}>1) and
({user_Defined20_Fw.archive_status_Fw} = 'N') then
MEChanger := 'Transfer'
else
MEChanger := 'Addition'
If it is a transfer and the date removed is null i have to show the unit number it was attached to. if it is a transfer and the date removed is not null i have to show the unit number it was moved to.
Currently i have the report grouped by Company, division, and unit.
EX of what i need to see:
Group1: Company2
Group2: Division2
Group3: Unit2 Make model serial#
Equipment # Make Serial # Transfer from Unit 1
Group1: Company1
Group2: Division1
Group3: Unit1 Make model serial#
Equipment # Make Serial # Transfer to Unit 2
Thus far i have everything showing as above, except for the to unit..... and from unit....
Thanks for all of your help.
This is my formula to check if it is a transfer:
Stringvar MEChanger;
if {user_defined20_fw.archive_status_fw} = 'A' then
MEChanger := 'Deletion'
else if ({Count_access_equip_FW__From_ME_History.count(access_equip_Fw)}>1) and
({user_Defined20_Fw.archive_status_Fw} = 'N') then
MEChanger := 'Transfer'
else
MEChanger := 'Addition'
If it is a transfer and the date removed is null i have to show the unit number it was attached to. if it is a transfer and the date removed is not null i have to show the unit number it was moved to.
Currently i have the report grouped by Company, division, and unit.
EX of what i need to see:
Group1: Company2
Group2: Division2
Group3: Unit2 Make model serial#
Equipment # Make Serial # Transfer from Unit 1
Group1: Company1
Group2: Division1
Group3: Unit1 Make model serial#
Equipment # Make Serial # Transfer to Unit 2
Thus far i have everything showing as above, except for the to unit..... and from unit....
Thanks for all of your help.