on 05-04-2016 9:33 PM
Hi there,
I need some help.. We have a crystal report which contains a group called Number. The database input field is coming as a string [5] but we want to print this field in ascending order. However, 11 is printed between 1 and 2 as it is a sting field.
Is there any way to convert into Number type?
Crystal Report Preview Window
Thank you in advance.
Chrissa
Try using this formula:
If NumericText({Number field}) then ToNumber({Number field}) else 0
This will prevent errors by checking to see whether the field is actually a number prior to converting it.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your prompt response. May I know where this formula is supposed to be? In Group Expert >> Common tab >> Use a formula as Group Sort Order?
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.