I have several tables linked together in Crystal and can pull back the correct information needed so far.
I am now trying to filter a field and pull back records on how we contact our clients with a contact type of "By telephone", which is easily done by
{CONT.Type} = "By telephone"
now I want to pull all those records back who have not had a contact "By telepone". I have tried so far
<> does not equal
If "By telephone" in {CONT.Type} then 1
else 0 (and various options within this range)
NOT LooksLike({CONT.Type},"By telephone")
I have a total set up of 254 clients and 189 contacted by telephone, but need a report to be able to show me those who have been contact differently.
At the moment, all the formulas I have tried have pulled back either the whole lot or just the "By telephone".
I would like to just see the 65 records
Your record-selection formula should be:
(Isnull({CONT.Type}) OR {CONT.Type}<>"By telephone")
Related
All,
My first ever post - here goes!
I am using a Dynamic Parameter to filter a report based on Purchase Order Number.
I have created the Parameter, but only so many results are on the list, then you have to change to page 2 and start looking through again, is there anyway to get all values on a single list.
I have am awaiting my IT Department to do the Registry edit to increase the search size, as I have well over 1,000 records.
Finally, I assume the user couldn't search for a relevant value in the list?
I am using Crystal Reports 2011 64 Bit Version
Any help would be great.
In our system, it shows each charge as a record, despite the account being the same.
Crystal reports image
How would I go about doing this?
Also, is there a way to show it like this even though they are all seperate records?
Option 2
You can solve this using sub reports.
In main report take distinct record and place the fields Account and city in detail section.
Now take sub report and place it after the first 2 columns in detail section but take care that you won't select the option distinct records that means you retrieve all records. In sub report place Charge type, charge fields
I'm a very new user of Crystal Reports with no training but with a very light background in programming.
I have been working on a report which should show me some information regarding the order status of parts within my company. I have modified an existing report which had a lot of the information I was looking for and have added several fields containing more information I want to look up (information like stock, delivery date, suppliers and partnumbers). I have one last field I want to add to the report, which shows me the name of the supplier where the part is ordered.
Problem:
When I add this field in the report, the groups where there is no information for this field disappear. When I remove the same field again, the missing groups return.
I have tried to look everywhere for an option or function which suppresses a group when a field is null but can not find anything. I also have tried to add an isNull function to return a certain value when the field is empty, but with no results. Unfortunately I can't review the returned values because the group has disappeared when I add the field.
This problem might have to do with the fact I started working from an existing report, but I have not been able to find a reason to believe so.
Update
I have made some pictures showing the problematic result and the SQL-Query (I can only link to the folder in Onedrive because I'm not allowed to post more than two links at the same time):
http://1drv.ms/1J1enHj
I am still rather new to Crystal Reports and have what feels like a pretty basic question. I work at a school, and part of my duties are to help with donation reporting. My boss wants a report that gives her biographical(irrelevant to this) information about donors that gave 500 or more to our Booster fund(relevant).
The kicker is this: After using record select to sort for donors who have given more than 500 to this fund, I need to show how much they have given to other funds as well. The way I've tried to do it has given Crystal parameters to only display the data if giving exceeds 500 to booster fund. Here's the record select:
{gift.fiscal_yr} = 2015 and
{gift.campaign} = "Booster" and
{gift.amount} >= 500
After it runs through that, when I put {gift.campaign} on the actual report, it only shows "Booster", and not any others. I want it to show me the giving amount of all funds only if the donor has given 500 or more to Booster.
Thanks in advance for your help! This community is a life saver!
Off the top of my head try this:
Take booster out of selection formula as suggested.
I assume you are grouped on donor?
Create a formula #findboosterdonor
if {gift.campaign} = "Booster" then 1 else 0
Go to Report-Selection-Formula-Group
enter this with your field names
sum(#findboosterdonor,{donor}) > 0
I have my sql database Views available to my report, but sometimes they return multiple values, for example I have one that shows me the Total Credits for a range of years.
When I click "Browse Data.." it lets me see what bits of data are available
Eg:
Credits
-------
31
45
460
But I want to select 45 (based on a customer ID)... is it possible to do this?
EDIT: An alternative is if I can link the Customer ID from two views, but only if it's not null (as sometimes there are no records in the Credits)
To avoid the problem of unintentionally "deleting" customers from the report results, first do a left outer join between the CONTRACT_VIEW and the year views, such as TOTAL_2013. In your selection formula, instead of just doing something like {TOTAL_2013.Customer_ID}=MyCustomerID, add all the nulls to it as well, so: isnull({TOTAL_2013.Customer_ID}) or {TOTAL_2013.Customer_ID}=MyCustomerID. This will prevent customers who don't have any entries in the by-year views from being removed completely from the report.