Crystal Reports 10 sort by formula field - crystal-reports

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.

Related

Crystal Report how to change the display order in a group

I have a crystal report like below image:
The report is group by "Quot No.", by default it's ordered by "Times Used" (8th column)
How can I change the ordering so that it will order by "Total amount"?
The total amount is a field in the report which is the sum of a field named "quotamt" in the datasource:
I've tried looking in the change group options, took a look at the "Use a formula as group sort order", but the formula only provides three options (ascending, descending, original order), and is unable to sort by another column
The desired result is:
How can I do that?
What I suggest, rather than doing this task in crystal report, good to done at sqlserver side means database side.
This is simplest suggestion when you have this type of situation.
You can give the condition on sqlserver side too. and get the data order same as you want.
Yes, this can be done in report side, but it take time for this.
Don't use formula as group sort order instead from the dropdown use Specifed Order and in the window specify the order you need

Filtering groups in crystal reports

Ok, simple question to anyone who has experience with crystal (which I do not) ,
but I have a report that is pulling in open orders, items ordered, qty ordered, and qty on hand. I am grouping by order # and would like to filter out all the orders that have any items with insufficient qty on hand for any item on the order to ship. I tried a simple formula of {qty_on_ord} < {qty_on_hand} then {Ord_no}, and inserted this into the group header, but it didn't work. My end result basically wanted is: if an item has insufficient qty, then don't display the order at all, and could also go vice-versa and show the orders that are short, with a simple change of <>. Im sure this is simple, but I have no experience in crystal reports and have spent more time than I wanted searching the web.
Any help is greatly appreciated.
Insert your formula at the Detail(Record) Level.
Go To Report > Selection Formulas > Record
There Enter your formula by selecting Fields from the "Report Fields"
This way you can just select the order Numbers you want and wont have to worry about the sum or totals at the bottom.

crystal reports and custom sorting 2

Help please
I have a project at school to create crystal report
where I have three columns [itemcode---price----Change]
Item codes has five different codes and all I need is how do I sort two of those items
say cu-8967 and mp-7865 this applies for all CU and MP items and under changes calculate
their differences.
Any guidance would great appreciated .
Thanks.
You can do it by using crystal report formula.
write a formula like
totext({itemcode},"00",0)
and then drag and drop the formula where you want to show the result.

using not syntax in record selection crystal reports

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...

Crystal Report value Convertion?

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)