I know the following parameter query is probably bloated and uneccassary but it's all I know how to do to make it work. I have on Problem though the following works but the
{Dictations.dtScribed}field gets updated when a job comes back from QA and it throws off the report. there is however a field called {Dictations.DtAwaitQA} that will work for the jobreport and it will never change even when returned from QA, Only problem with that is not all jobs will go to QA. So I need to make the report lookup records that were transcribed "Dictations.dtScribed" within the date range THAT HAVE NOT GONE TO QA and I need the jobs that were awaiting QA "Dictations.DtAwaitQA" in that same range.
Date Fields Null if no activity for that record
Any Help with this is much appreciated.
if {?DictatorID}<>"ALL" and
{?WorkType}<> 9999999999.00 and
{?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.dWorkType}={?WorkType}and
{Dictations.TranID}={?TranID}
Else
if {?DictatorID}<>"ALL" and {?WorkType}<> 9999999999.00
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.dWorkType}={?WorkType}
Else
if {?DictatorID}<>"ALL" and {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.TranID}={?TranID}
Else
if {?WorkType}<> 9999999999.00 and {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.dWorkType}={?WorkType}and
{Dictations.TranID}={?TranID}
Else
if {?DictatorID}<>"ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}
Else
if {?WorkType}<> 9999999999.00
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.dWorkType}={?WorkType}
Else
if {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.TranID}={?TranID}
Else{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}
If knowledge were power I would be a AAA battery!
{Dictations.dtScribed}field gets updated when a job comes back from QA and it throws off the report. there is however a field called {Dictations.DtAwaitQA} that will work for the jobreport and it will never change even when returned from QA, Only problem with that is not all jobs will go to QA. So I need to make the report lookup records that were transcribed "Dictations.dtScribed" within the date range THAT HAVE NOT GONE TO QA and I need the jobs that were awaiting QA "Dictations.DtAwaitQA" in that same range.
Date Fields Null if no activity for that record
Any Help with this is much appreciated.
if {?DictatorID}<>"ALL" and
{?WorkType}<> 9999999999.00 and
{?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.dWorkType}={?WorkType}and
{Dictations.TranID}={?TranID}
Else
if {?DictatorID}<>"ALL" and {?WorkType}<> 9999999999.00
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.dWorkType}={?WorkType}
Else
if {?DictatorID}<>"ALL" and {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}and
{Dictations.TranID}={?TranID}
Else
if {?WorkType}<> 9999999999.00 and {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.dWorkType}={?WorkType}and
{Dictations.TranID}={?TranID}
Else
if {?DictatorID}<>"ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.DictatorID}={?DictatorID}
Else
if {?WorkType}<> 9999999999.00
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.dWorkType}={?WorkType}
Else
if {?TranID}<> "ALL"
then{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}and
{Dictations.TranID}={?TranID}
Else{Dictations.state}>14 and
{Dictations.dtScribed}={?DateRange}
If knowledge were power I would be a AAA battery!