on 2024 Nov 06 9:54 AM
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 |
---|---|
77 | |
30 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.