Hi All,
I am using the below formula
@tabdetails:
local stringvar missing_or_not;
if
{table.field1} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field1} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
if
{table.field2} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field2} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
if
{table.field3} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field3} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
which results as
col1 col2 col3 col4 col5 // headings
100 AAAAA not found found not found
200 BBBBB not found found not found
210 CCCCC not found found not found
I need to give a prompt option in order to supress the results and options are( found, not found, both)
if a user choose 'BOth' as a prompt I should display everything in the report
if a user choose 'Found' as a prompt I should display only when col3, col4,col5 is true else i need to suppress the rows
if a user choose 'Not Found' as a prompt I should display either col3, col4,col5 is true else i need to suppress the rows
Can anyone help How I can do this
Using CR 8 ver.
Any help is greatly apperciated
Thanks in advance
Sweetie Pie
I am using the below formula
@tabdetails:
local stringvar missing_or_not;
if
{table.field1} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field1} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
if
{table.field2} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field2} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
if
{table.field3} = ' '
then
missing_or_not := 'NOT FOUND '
else
(
if
{table.field3} = ' NO TABLE'
then
missing_or_not := ' NO TABLE '
else
missing_or_not := ' FOUND '
);
which results as
col1 col2 col3 col4 col5 // headings
100 AAAAA not found found not found
200 BBBBB not found found not found
210 CCCCC not found found not found
I need to give a prompt option in order to supress the results and options are( found, not found, both)
if a user choose 'BOth' as a prompt I should display everything in the report
if a user choose 'Found' as a prompt I should display only when col3, col4,col5 is true else i need to suppress the rows
if a user choose 'Not Found' as a prompt I should display either col3, col4,col5 is true else i need to suppress the rows
Can anyone help How I can do this
Using CR 8 ver.
Any help is greatly apperciated
Thanks in advance
Sweetie Pie