![]() |
Formate im DBGrid
hallo zusammen,
mit: TColumn(self.Columns[1]).Field:= FQuery1.FieldByName('nettopreis'); weise ich einem dbgrid das datenbankfeld (firebird) zu. Im Datenfeld decimal(8,3) steht z.B 2,5 , das Grid rundet auf und zeigt 3 an. wie kann ich das Gridfeld formatieren? danke gruss KH |
Re: Formate im DBGrid
jemand heute ne idee?
danke gruss kh |
Re: Formate im DBGrid
Welchen Typ hat das Feld in Lazarus?
|
Re: Formate im DBGrid
Zitat:
wird ja direkt aus der query zugewiesen TColumn(self.Columns[1]).Field:= FQuery1.FieldByName('nettopreis'); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:30 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz