Hi!
Running CRW 8.0 Developer and pulling from MS Access 2000.
I have a report that I am trying to selectively exclude specific data from two particular groups (billing errors and coding issues) within the report. There is a total of 6 different groups (I mean in preview, not design).
I am having a problem with getting the correct count of the accounts viewed and the correct totals.
In the detail section under format and suppress I have the following formula to get distinct acct #'s:
CODE................
{Payment_Info.acct_num} = previous({Payment_Info.acct_num}) or
If {Do_Not_Use_-_Denial_Codes.responsible_dept} in [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} in [ "K", "Q" ] Then
True
Else
False;
END CODE.............
I am new to coding so bear with me.
I have a second detail section that has no formulas in the format section but I do have formulas for each of the 5 different fields that I have and the summaries are built off of these.
Here is the count formula:
CODE...............
Global numbervar CountAcctNum;
If Not({Do_Not_Use_-_Denial_Codes.responsible_dept} in [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} in [ "K", "Q" ]) Then
CountAcctNum := CountAcctNum + 1;
END CODE...........
Here is the total charges formula:
CODE...............
Global CurrencyVar SumTotChgs;
If Not({Do_Not_Use_-_Denial_Codes.responsible_dept} = [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} = [ "K", "Q" ]) Then
SumTotChgs := {Payment_Info.total_charges};
END CODE...........
I have tried doing distinct count from the database, doesn't do anything to the numbers. I've tried putting the formulas from the detail a section into the detail b, didn't work.
I am at a loss.
Basically I am trying to keep fin_class K and Q out of the groups Billing Errors and Coding Issues.
Any help is greatly appreciated!
Thanks,
John
Running CRW 8.0 Developer and pulling from MS Access 2000.
I have a report that I am trying to selectively exclude specific data from two particular groups (billing errors and coding issues) within the report. There is a total of 6 different groups (I mean in preview, not design).
I am having a problem with getting the correct count of the accounts viewed and the correct totals.
In the detail section under format and suppress I have the following formula to get distinct acct #'s:
CODE................
{Payment_Info.acct_num} = previous({Payment_Info.acct_num}) or
If {Do_Not_Use_-_Denial_Codes.responsible_dept} in [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} in [ "K", "Q" ] Then
True
Else
False;
END CODE.............
I am new to coding so bear with me.
I have a second detail section that has no formulas in the format section but I do have formulas for each of the 5 different fields that I have and the summaries are built off of these.
Here is the count formula:
CODE...............
Global numbervar CountAcctNum;
If Not({Do_Not_Use_-_Denial_Codes.responsible_dept} in [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} in [ "K", "Q" ]) Then
CountAcctNum := CountAcctNum + 1;
END CODE...........
Here is the total charges formula:
CODE...............
Global CurrencyVar SumTotChgs;
If Not({Do_Not_Use_-_Denial_Codes.responsible_dept} = [ "Billing Errors", "Coding Issues" ] and
{Patient_Information.fin_class} = [ "K", "Q" ]) Then
SumTotChgs := {Payment_Info.total_charges};
END CODE...........
I have tried doing distinct count from the database, doesn't do anything to the numbers. I've tried putting the formulas from the detail a section into the detail b, didn't work.
I am at a loss.
Basically I am trying to keep fin_class K and Q out of the groups Billing Errors and Coding Issues.
Any help is greatly appreciated!
Thanks,
John