FunkyBunch
Instructor
I want to filter the report by the change type associated. If the equipment is archived it is deleted, if the equipment is brand new it is added, if the equipment has been associated within the company before, it is transferred.
Here is the formula i have:
Stringvar MEChanger;
if (not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_REMOVED_FW}) and
not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_Added_FW}) and
{user_Defined20_fw.access_equip_Fw} = NExt({user_Defined20_Fw.access_Equip_fw}))
or
(isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_REMOVED_FW}) and
not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_Added_FW}) and
{user_Defined20_fw.access_equip_Fw} = Previous({user_Defined20_Fw.access_Equip_fw}))then
MEChanger := 'Transfer'
else if {user_defined20_fw.archive_status_fw} = 'A' then
MEChanger := 'Deletion'
else
MEChanger := 'Addition'
I am using Crystal 9. Why could i not group by this field?
thanks for all of your help!
Here is the formula i have:
Stringvar MEChanger;
if (not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_REMOVED_FW}) and
not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_Added_FW}) and
{user_Defined20_fw.access_equip_Fw} = NExt({user_Defined20_Fw.access_Equip_fw}))
or
(isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_REMOVED_FW}) and
not isnull({USER_DEFINED20_FW.DATE_MOUNTED_EQUIPMENT_Added_FW}) and
{user_Defined20_fw.access_equip_Fw} = Previous({user_Defined20_Fw.access_Equip_fw}))then
MEChanger := 'Transfer'
else if {user_defined20_fw.archive_status_fw} = 'A' then
MEChanger := 'Deletion'
else
MEChanger := 'Addition'
I am using Crystal 9. Why could i not group by this field?
thanks for all of your help!