TDBGrid Error if DataSource is Not Active
Original Reporter info from Mantis: anbsoft
-
Reporter name:
Original Reporter info from Mantis: anbsoft
- Reporter name:
Description:
If DataSet is Not Active, press key Tab, Page Up, Page Down, Enter
throws exception EDatabaseError Operation can not be performed on an inactive dataset.
Need add in TCustomDBGrid.KeyDown:
if not FDatalink.Active or not CanGridAcceptKey(Key, Shift) then Exit;