I have a report that I group by Nature. The nature field has many returns.
(ex. Theft by Shoplifting, Theft by Taking (Auto), Theft by Taking (From Building), Burglary Dwelling (Forced), Burglary Dwelling (Non-Forced), etc.......)
I have tried to combine the natures for a specific report, so that all calls that relate to theft will be listed once under "Theft" with addresses and all calls that relate to a burglary will be listed once under "Burglary" with addresses.
I used the following formula and it does list them as "Theft" or "Burglary", but the problem is that is still list each event seperately.
This is the formula that I've tried:
IF ({lwchrg.arr_chrg})="BURGLARY FIRST DEGREE(DWELLING,FORCIBLE ENTRY)" THEN "BURGLARY DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY FIRST DEGREE(DWELLING,NON-FORCED)" THEN "BURGLARY DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY SECOND DEGREE(NON-DWELLING, FORCIBLE ENTRY)" THEN "BURGLARY NON-DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY SECOND DEGREE(NON-DWELLING, NON-FORCED)" THEN "BURGLARY NON-DWELLING" ELSE IF
({lwchrg.arr_chrg})="THEFT BY CONVERSION" THEN "THEFT (OTHER)" ELSE IF
({lwchrg.arr_chrg})="THEFT BY CONVERSION OF PAYMENTS PROPERTY IMPROVEMENTS" THEN "THEFT (OTHER)" ELSE IF
({lwchrg.arr_chrg})="THEFT BY DECEPTION" THEN "THEFT (OTHER)" ELSE ({lwchrg.arr_chrg})
Is there a way that I can get my desired results to lump together?
Example of Original results:
Theft by Taking (Auto)
123 Street Name, City - Unsolved
Theft by Shoplifiting
132 Street Name, City - Solved, Arrest Made
Theft by Taking (Other)
234 Street Name, City- Unsolved
Burglary Dwelling (Forced)
456 Street Name, City, - Unsolved
Example of what I am getting after my formula:
Theft
123 Street Name, City - Unsolved
Theft
132 Street Name, City - Solved, Arrest Made
Theft
234 Street Name, City- Unsolved
Burglary
456 Street Name, City, - Unsolved
Example of what I am trying to accomplish:
Theft
123 Street Name, City - Unsolved
132 Street Name, City - Solved
234 Street Name, City, - Unsolved
Burglary
456 Street name, City, - Unsolved
(ex. Theft by Shoplifting, Theft by Taking (Auto), Theft by Taking (From Building), Burglary Dwelling (Forced), Burglary Dwelling (Non-Forced), etc.......)
I have tried to combine the natures for a specific report, so that all calls that relate to theft will be listed once under "Theft" with addresses and all calls that relate to a burglary will be listed once under "Burglary" with addresses.
I used the following formula and it does list them as "Theft" or "Burglary", but the problem is that is still list each event seperately.
This is the formula that I've tried:
IF ({lwchrg.arr_chrg})="BURGLARY FIRST DEGREE(DWELLING,FORCIBLE ENTRY)" THEN "BURGLARY DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY FIRST DEGREE(DWELLING,NON-FORCED)" THEN "BURGLARY DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY SECOND DEGREE(NON-DWELLING, FORCIBLE ENTRY)" THEN "BURGLARY NON-DWELLING" ELSE IF
({lwchrg.arr_chrg})="BURGLARY SECOND DEGREE(NON-DWELLING, NON-FORCED)" THEN "BURGLARY NON-DWELLING" ELSE IF
({lwchrg.arr_chrg})="THEFT BY CONVERSION" THEN "THEFT (OTHER)" ELSE IF
({lwchrg.arr_chrg})="THEFT BY CONVERSION OF PAYMENTS PROPERTY IMPROVEMENTS" THEN "THEFT (OTHER)" ELSE IF
({lwchrg.arr_chrg})="THEFT BY DECEPTION" THEN "THEFT (OTHER)" ELSE ({lwchrg.arr_chrg})
Is there a way that I can get my desired results to lump together?
Example of Original results:
Theft by Taking (Auto)
123 Street Name, City - Unsolved
Theft by Shoplifiting
132 Street Name, City - Solved, Arrest Made
Theft by Taking (Other)
234 Street Name, City- Unsolved
Burglary Dwelling (Forced)
456 Street Name, City, - Unsolved
Example of what I am getting after my formula:
Theft
123 Street Name, City - Unsolved
Theft
132 Street Name, City - Solved, Arrest Made
Theft
234 Street Name, City- Unsolved
Burglary
456 Street Name, City, - Unsolved
Example of what I am trying to accomplish:
Theft
123 Street Name, City - Unsolved
132 Street Name, City - Solved
234 Street Name, City, - Unsolved
Burglary
456 Street name, City, - Unsolved