Good Afternoon:
I'm pretty sure I'm missing some syntax error in here. I'm using Crystal 2008. I have 4 fields, I want to display one of the fields when the others are empty (null), then I want to group based on that output, but that comes later. The results only give me output when TaskLookup3 is null and there's also a value in TaskLookup4. There should be only 1 value at a time in any of these fields.
Here's the formula I'm using:
Whileprintingrecords;
If IsNull({TASKS.TaskLookup3}) then
{TASKS.TaskLookup4}
Else
If Isnull({TASKS.TaskLookup4})then
{TASKS.TaskLookup5}
Else
If IsNull({TASKS.TaskLookup5}) then
{TASKS.TaskLookup6}
Else
If isNull({TASKS.TaskLookup6}) then
{TASKS.TaskLookup3};
Thank you for any assistance you can provide.
I'm pretty sure I'm missing some syntax error in here. I'm using Crystal 2008. I have 4 fields, I want to display one of the fields when the others are empty (null), then I want to group based on that output, but that comes later. The results only give me output when TaskLookup3 is null and there's also a value in TaskLookup4. There should be only 1 value at a time in any of these fields.
Here's the formula I'm using:
Whileprintingrecords;
If IsNull({TASKS.TaskLookup3}) then
{TASKS.TaskLookup4}
Else
If Isnull({TASKS.TaskLookup4})then
{TASKS.TaskLookup5}
Else
If IsNull({TASKS.TaskLookup5}) then
{TASKS.TaskLookup6}
Else
If isNull({TASKS.TaskLookup6}) then
{TASKS.TaskLookup3};
Thank you for any assistance you can provide.