[Lazarus] SQlite format issue in DBGrid with non persistant field definition

Werner Pamler werner.pamler at freenet.de
Wed Jul 31 00:31:29 CEST 2024


Am 19.07.2024 um 14:40 schrieb John Landmesser via lazarus:
> The issue is of course gone if i have persistant field definitions where
> i can set Field.Displayformat

But nothing prevents you to do this also with auto-created fields:

     TFloatField(SQLQuery1.FieldByName('Number')).DisplayFormat := 
'#,##0.000';



More information about the lazarus mailing list