Why clearing edit value after sorting ?
Posted: Wed  13 Dec 2017 12:26
				
				Hello ,
We are using SDAC (8.0.3) component with C++ Builder 6.

Here is .DFM and grid settings.
Thanks for support.
			We are using SDAC (8.0.3) component with C++ Builder 6.

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