Why clearing edit value after sorting ?

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
eta
Posts: 7
Joined: Wed 25 Oct 2017 14:06
Location: Turkey, Istanbul
Contact:

Why clearing edit value after sorting ?

Post by eta » Wed 13 Dec 2017 12:26

Hello ,
We are using SDAC (8.0.3) component with C++ Builder 6.

Image

Here is .DFM and grid settings.

Code: Select all

object Form1: TForm1
  Left = 320
  Top = 174
  Width = 931
  Height = 534
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object CRDBGrid1: TCRDBGrid
    Left = 20
    Top = 68
    Width = 857
    Height = 365
    OptionsEx = [dgeEnableSort, dgeFilterBar, dgeRecordCount, dgeSearchBar]
    Ctl3D = False
    DataSource = DataSource1
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
    ParentCtl3D = False
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object MSConnection1: TMSConnection
    Database = 'DBNAME'
    Username = 'sa'
    Server = 'SERVER'
    Connected = True
    LoginPrompt = False
    Left = 44
    Top = 16
    EncryptedPassword = '9AFF8BFF9EFF'
  end
  object MSQuery1: TMSQuery
    Connection = MSConnection1
    SQL.Strings = (
      'SELECT [MUHHARTAR]'
      '      ,[MUHHARREFNO]'
      '      ,[MUHHARSIRANO]'
      '      ,[MUHHARMUHKOD]'
      '      ,[MUHHARBATIPI]'
      '      ,[MUHHARTUTAR]'
      '  FROM MUHHAR')
    FetchAll = False
    Active = True
    Left = 136
    Top = 28
  end
  object DataSource1: TDataSource
    DataSet = MSQuery1
    Left = 96
    Top = 28
  end
end
Thanks for support.

Stellar
Devart Team
Posts: 496
Joined: Tue 03 Oct 2017 11:00

Re: Why clearing edit value after sorting ?

Post by Stellar » Thu 14 Dec 2017 08:40

The TCRDBGrid component is no longer being developed.
Its source code is supplied with SDAC, so you can change it any way you want.

Post Reply