I have a crystal report that bound to a dataset, the dataset is filled using stored proc. Some of my numeric columns mysterisly become string in crystal report. I have checked the columns in the dataset, and they are all system.decimal.
Because I have to do calculations and grouping in the report, I have formulas to convert all thoes string to double. It works, but I have already a hung rows of formulas and it will grow longer.
I don’t know what’s the problem, please help if you suspect anything could cause this.
Thank you.
Make sure your data types are cast as
decimalin your stored procedure. I’ve seen Crystal Reports come up with its own datatypes if it can’t figure it out own its own.