View Single Post
Old 03-29-2006, 10:18 PM
atulparmar atulparmar is offline
Senior Member
Join Date: Aug 2004
Posts: 305
Default RE: a small question related to dbgrid/dataset values

1. In the dataset add one calculated column (which will be displayed in the grid).
2. calculate its value on OnCalcFields event with the precision you want.
3. show this (calculated) field and hide the actual field in dbgrid.
4. show actual field in the chart and hide calculated field.

Accept As Answer if it helps

Reply With Quote