Add record issue in TDBAdvGrid

Hi,

I have a details grid for user data entry, the problems are as follows:

  1. If I click icon for add record, it will not jump to the last record and perform add a row. sometimes no reaction, I need to click again but it still insert not append.
  2. If user click add record, it should direct first point to 'Cert Name' field and allow user to select from the list but everytimes i need to click this field after insert record.


H

It is the dataset that determines the position of the inserted row. The grid just reflects what is in the dataset. We cannot change that.

Try to handle the dataset.AfterInsert and set the focus on the column where you want to start entering data.