Export Crystal report to TTX - crystal-reports

I have added a new varchar field(for eg: data appears to be like this 763268953286) in the existing report. But when I tried to export Crystal report XI data to TTX format, the similar data comes as 7.63245E + 11. Data format changing when covert to TTX. In crystal report, I have formatted the datafield as toText({data fieldname}). How can I format it properly to avoid invalid characters printing

Try something like this ToText({Numerical Database Field},2," ",",")
The argument you need is a Number or Currency value to be converted into a text string; it can be a whole or fractional value.
Full SAP Article here

Related

Is there a better way to format this date field in Crystal Reports? Im having trouble with a scheduling program and getting the correct data

I have a program that runs reports on a schedule. For some reason the data it pulls is not the same as what Crystal Reports pulls. I was told it has to do with the way that the PO Enter Date field is formatted. It pulls fine from Crystal Reports but the scheduler shows different data. Im not sure where to go from here.
'''
(IF(LENGTH(TOTEXT({POP.PODADD}))=9)
THEN (DateSerial ((TONUMBER("20"+Mid
(Totext({POP.PODADD}),4,2))),
(TONUMBER(LEFT(TOTEXT({POP.PODADD}),1))),
(TONUMBER(MID(TOTEXT({POP.PODADD}),2,2)))))
ELSE (DateSerial ((TONUMBER("20"+Mid
(Totext({POP.PODADD}),5,2))),
(TONUMBER(LEFT(TOTEXT({POP.PODADD}),2))),
(TONUMBER(MID(TOTEXT({POP.PODADD}),3,2))))))
'''
The Crystal Runtime doesn't always "follow" custom formatting defined in Crystal Designer.
If you need a specific formatting, convert the date to formatted text using a formula such as:
ToText({POP.PODADD}, 'yyyyMMdd')
The 2nd argument gives you control over the desired formatting.

How to remove decimal in crytal report

How to remove decimal from report by using crystal report when export to excel,
i have data in crytal report result = 110,973 when export report with format format excel
i get data resutl =110,973.8333333 if highlight column result, so how to remove decimal .8333333 or how to setting format in crytal report.
to removing decimals try this :
removing decimals in crystal reports for number field

Export to Excel issue with numbers converting as text in SSRS

I have a price column in tablix with currency format("$"). when i export the report to excel this column is converting to text. Could anyone let me know how to make it as number in excel.
As TPhe mentioned, you can use the Format property to format the text box with C2 for currency (C for Currency and 2 for the number of digits after the decimal). Using the Format property usually makes Excel format the cell correctly.

Display string formula not used when exporting from Crystal Reports XI

I've produced a report in Crystal Reports XI where I in one of the fields have used the display string formula to alter the apperance of some data as well as group similar data values to one value (e.g. "neg", "negative", and "-" now all displays as "negative" in the report.)
However, now when I export the report to CSV for delivery to a customer the raw data, and not the display string formula result, is in the export. I've tried all 4 settings with the checkboxes in the CSV export options.
Is there any way to make the display string formatted data beeing exported to the CSV?
Are there any alternate ways of achiving the desired formatting and getting the formatting preserved in CSV export?
Unfortunately, i've not found a way of using the display string formula and achieving the desired result.
Instead create a new formula and replace the object on the report with the new formula.
L

Crystal Report export to excel data in wrong column due to null fields

I try to export a crystal report to excel. The report is list of data. Some date may be omitted but, of course, the column order must be respected. But with an empty field all the data are shifted to the left and the column is not right any more.
How can I setup the crystal report to add empty cell for an empty data field ?
I put a blank text file field same height and width Over the field with the issue.
Then moved the field to the back. It worked, all data is aligned correctly in the Excel spreadsheet.
You'll need to experiment with the report's Excel-export options (File | Export | Report Export Options...). Consider 'Data Only (XLS)'.
I usually use TTX format, as it seems to work better than XLS.
Try add export option .ExcelUseConstantColumnWidth = false;