Datagrid: Number formatting
Posted on 2004-10-28
I have created a dynamic data table and added a following column to it.
Now when I add the data to it I use the following line of code
newRow("Size") = FileLen(ofdlg.FileNames(i))
Problem: I am unable to fortamt the number, e.g., if the file size is 2322, I want it to appear like, 2,322
How do I achieve it, yet I do not want to change the datatype to string as it is does not perform well in sorting.
Thanks in adv.