Recent

Author Topic: [SOLVED] TNavigator question  (Read 2121 times)

Pascaluvr

  • Full Member
  • ***
  • Posts: 216
[SOLVED] TNavigator question
« on: May 07, 2013, 04:00:13 am »
I am attempting to learn about TNavigator and mostly all is GREAT.

For testing I am using the Customer Table defined in Tutorial1, the important point is that the Primary key (and only index) is Cust_no which equates to RowID.

If I Insert a new row and ApplyUpdates the row is successfully inserted but the Cust_No (RowID) is not updated on DBGrid.  This is understandable, but while clicking Refresh updates the Cust_No, DBGrid now shows the first row in the grid as selected.

Basically, I want the Row I just inserted to be selected.  How can I do this?
« Last Edit: May 07, 2013, 08:15:42 am by Pascaluvr »
Windows 7, Lazarus 1.0.8, FPC 2.6.2, SQLite 3

Pascaluvr

  • Full Member
  • ***
  • Posts: 216
Re: TNavigator question
« Reply #1 on: May 07, 2013, 08:15:01 am »
nevermind ... i sussed it.
Windows 7, Lazarus 1.0.8, FPC 2.6.2, SQLite 3

 

TinyPortal © 2005-2018