Hi , friends ,
I make crystal report dynamically but with this , all fileldobject types are string while some of them should be numeric .
For example , i want to create a report with four fields : Product_no,Product_Name, Unit, Quantity
Firstly , i create a datatable dt with 4 columns : column1,column2,column3,column4
Then , data for crystal report is from this datatable .
So , what should i do to change type of Ifieldobject column4 ( quantity) to numeric instead of string
Thanks so much ,
Convert Ifieldobject type from string to number in crystal report
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Dec 6, 2010, 10:47 PM EST
You can change the data type when select the column from datatable. try like Convert (VARCHAR,DOB,12) as DOB