Pardon my ignorance in advance, I'm a complete novice at Crystal Reports.
I need to select all records where a specific field (employee.term_date) is null. I don't seem to be able to use ISNULL with a date/time field.
The following will select all records that contain a value in employee.term_date, but I am looking for the opposite - all records where this field is null.
Is there any easy way to use NOT in the statement below, or is there a better way to accomplish this?
{employee.term_date} > DateTime(1900,1,1,0,0,0)
Thanks in advance for any assistance!
Try below way
Not(CStr({employee.term_date}) like "")
Note: Not a tested condition...
Related
I have a report that is pulling an ID field. I want to use the select expert to say if an ID is duplicated, do not pull this data. I know I can use format field, suppress if duplicated, but I don't want the data to be pulled in the first place, if possible.
How would I do this?
Thanks.
Please check below listed solutions. I usually try one by one of this solution, because different issue may have different solution. But so far, I can say that most of duplicate issue solve by query (last solution)
1) checkbox suppress if duplicate
2) Distinct
3) Grouping
3) SQL Query (The best)
I am relatively new to using Crystal Reports. I am pulling the correct information from my database however I need to only pull the information from the beginning of the month to the current date, i.e. 09/01/2013 - 09/23/2013. Could anyone give me a snipit of code on how that would look.
Much appreciated.
The best way is you need to filter the data before it is populated on reports i.e. filtering the query itself. The other option is to create new parameter for the selected field and passing the value on runtime.
http://www.codeproject.com/Articles/205398/Crystal-Report-Filtering-Using-Selection-Parameter
In below figure you can add the records selection on the required field and add the condition similarly
In one of my report datset returns more than one output for a query since the ouptut will be displayed in textbox where it can fetch more than one row report is getting failed. can someone help me on this. can we use listbox to overcome this problem .iam using ssrs 2008.
Appreciate your help on this.
A Table control, or a List (which is, technically, just another table) should work just fine.
can anyone please help me with this? I am trying to sort my report by a formula field i created but since it's a formula field it doesn't show on record sort expert.
is there a way to do this? thanks alot
You could always have the sort be performed on the server and then select to keep the original sort order in the grouping expert.
i have to crystal report made from Dataset,and we have to one formula field
i wrote Add() but that formula field show cancatination like 10+20=1020
i realize they need to convert that field in sight formula how to overcome this one?
anybody help me ?
Advance wishes...
You can try using CStr in the formula
CStr(10)+CStr(20)