I am having trouble getting a field to display when a condition holds true.
I have the following fields that I am trying to work with:
- sport_name from Table Sports
- example values of basketball, baseball, football
- sport_order_number also from Table Sports
- example values of 1, 2, 3
On a person's record they rank there favorite sports.
- for eaxmple - James ranks his in the following order 1-Basketball, 2-Baseball, 3-Football
- for eaxmple - Ray ranks his in the following order 1-Football, 2-Basketball, 3-Baseball
I am trying to get the report to diplay the sport that has a value of 1 for each person.
Output for James should be Basketball.
Output for Ray should be Football.
I have tried the following type formula and have gotten blank results.
if {Sports.sport_order_number} = '1'
then {Sports.sport_name}
Any thoughts would be greatly appreciated!
-crachic
I have the following fields that I am trying to work with:
- sport_name from Table Sports
- example values of basketball, baseball, football
- sport_order_number also from Table Sports
- example values of 1, 2, 3
On a person's record they rank there favorite sports.
- for eaxmple - James ranks his in the following order 1-Basketball, 2-Baseball, 3-Football
- for eaxmple - Ray ranks his in the following order 1-Football, 2-Basketball, 3-Baseball
I am trying to get the report to diplay the sport that has a value of 1 for each person.
Output for James should be Basketball.
Output for Ray should be Football.
I have tried the following type formula and have gotten blank results.
if {Sports.sport_order_number} = '1'
then {Sports.sport_name}
Any thoughts would be greatly appreciated!
-crachic