pro_imaj Posted May 6, 2019 Share Posted May 6, 2019 Merhaba, Grid üzerindeki ColumnSummaryTotal olayında ilgili şartta Column.AuxValues[1] = 'NULL' olarak geliyor ve işlemler hataya düşüyor. Halbuki hem veri tabanından hemde grid üzerinden baktığım zaman Null veri olmadığını gözlemliyorum sorun neden kaynaklanabilir. Teşekkürler. var I: Integer; begin if SameText(Column.FieldName, 'Miktar') then begin I := Column.AuxValues[1]; Result := Format('G. Toplam (Miktar): %d', [I]); Attribs.Font.Style := [fsBold]; Attribs.Font.Color := clWhite; Attribs.Color := $088FF4; end; Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted May 7, 2019 Author Share Posted May 7, 2019 Sorun ColumnSummary olayında hesaplama yaptırmadığımdan kaynaklanıyormuş. İyi çalışmalar. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.