4 weeks ago
Hi
Using Crystal Reports 2020, I have a formula that checks if a date field is less than the current date and if it is then return an field that is an amount. However, when I export to excel XLSX as data only it exports as a string. How can I get it to export as a number please?
I have formatted the field to number with 2 decimals places.
This is the formula
If {InvcHead.DueDate} < CurrentDate And {InvcHead.DueDate} >= CurrentDate - 30 Then ToNumber({InvcHead.InvoiceAmt})Else ToNumber(0)
Thanks
Request clarification before answering.
Managed to resolve the issue. The field was using the grouped field rather than the actual formula field. The export now is in number format.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
29 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.