Dbgrid row cannot be located for updating

You are right but a possibility exists if you dig a little bit in the VCL hierarchy for the TDBGrid.

TDBGrid is descending from TCustom Grid, which has a property called Visible Row Count.

Top Row'Alter the code I gave you to make THack DBGrid(DBGrid1).

Top Row the current record after the try and before the Ado Query1.

Its almost perfect but you also want to keep the same current record. The first one to scroll down the view to make your record the first visible in the grid, the second one to make it the current record again.

Since your application is able to connect to its database all the time.Hi forum, I have a little problem with positioning in DBGrid after update of records.First of all, this is a dataset where several users are working on at the same time.Unfortunately, this property is protected, so you cannot access it directly in your code.If you try, the compiler will give you an "Undeclared identifier: Visible Row Count" error.

Search for dbgrid row cannot be located for updating:

dbgrid row cannot be located for updating-90dbgrid row cannot be located for updating-75dbgrid row cannot be located for updating-89

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “dbgrid row cannot be located for updating”

  1. Sabrina_xx The big beautiful blonde with a big booty with tattoos is teasing and playing games with guys on live webcams, she wants to have real sex but only with someone who can be the right for her!