We enter currency amounts in a table based on a code (sys_trac.actioncode). I can get all of the code and amounts in a report as follows:
actioncode trackamt
SFPP $50.00
SFX $1,170.00
SFM $1.50
SFAD $40.00
SFOA $9.00
What I have been trying (without any luck) is to take the field sys_trackamt and have it display an amount based on whatever actioncode is put in for that field. I want to put more than one on the same report but can only get it to select one actioncode. (this is from select expert for the report). I have not figured out how to diplay the amount for differnt codes if I put more than one sys_trackamt on the report.
I want to use the same field on the report several times and and have it display the amount based on a code. If it does not match that code then it would be blank or zero.
Any help or ideas would be greatly appreciated.
actioncode trackamt
SFPP $50.00
SFX $1,170.00
SFM $1.50
SFAD $40.00
SFOA $9.00
What I have been trying (without any luck) is to take the field sys_trackamt and have it display an amount based on whatever actioncode is put in for that field. I want to put more than one on the same report but can only get it to select one actioncode. (this is from select expert for the report). I have not figured out how to diplay the amount for differnt codes if I put more than one sys_trackamt on the report.
I want to use the same field on the report several times and and have it display the amount based on a code. If it does not match that code then it would be blank or zero.
Any help or ideas would be greatly appreciated.