I would like to format specific cells to force two decimal places. Data comes from the ElevateDB stored procedure and connects to the TDataSource.
EDIT: SQL Programming Note:
I was not sure if this was just ElevateDB's problem or not. Before learning about the Field Editor , I tried to format the data at the SQL level using the CAST (NumericField as varchar (10)) statement inside the stored procedure. In doing so, he did not find the DisplayFormat property inside the field editor for this particular field.
When I removed the CAST () statement from the stored procedure, the DisplayFormat property appeared in the Field Editor .
Michael Riley - AKA Gunny
source share