gscheepers
IS-IT--Management
Hi,
I'm having a problem with the record selection formula. I use 3 different parameter options, but when I include the second selection in the record selection formula, it ignores the criteria entered in the parameter and display all the data. when I disable the second part of the selection formula, it works fine.
This is what I have in my selection formula:
if {?Extension_Number} = 'All' then
{@CallDate} = {?CallDate}
else
{Extensions.Extn} = {?Extension_Number} and
{@CallDate} = {?CallDate};
If I disable the next part, the top formula works fine, enable it and it doesn't:
//if {?Dept_Name}='All' then
//{@CallDate} = {?CallDate}
//else
//({Departments.DepartmentName} = {?Dept_Name} and
//{@CallDate} = {?CallDate});
Any help will be wonderful!
Thanks, Gerhard Scheepers
Business Systems Manager - LETEC
I'm having a problem with the record selection formula. I use 3 different parameter options, but when I include the second selection in the record selection formula, it ignores the criteria entered in the parameter and display all the data. when I disable the second part of the selection formula, it works fine.
This is what I have in my selection formula:
if {?Extension_Number} = 'All' then
{@CallDate} = {?CallDate}
else
{Extensions.Extn} = {?Extension_Number} and
{@CallDate} = {?CallDate};
If I disable the next part, the top formula works fine, enable it and it doesn't:
//if {?Dept_Name}='All' then
//{@CallDate} = {?CallDate}
//else
//({Departments.DepartmentName} = {?Dept_Name} and
//{@CallDate} = {?CallDate});
Any help will be wonderful!
Thanks, Gerhard Scheepers
Business Systems Manager - LETEC