My Db table has [RecNum] as INTEGER PRIMARY KEY, but the recordset is sorted by other columns.
When I add a new row to the recordset (INSERT INTO....) I want to populate my view using that new row as the current record. Naturally as records have been added/removed the values of [RecNum] have become non-contigious so that poses problems.
So what is the best SQL query to isolate he last added record so I can.... Cursor.Position= ??? and make it the current record when the INSERT INTO process is complete ???
Thanks
When I add a new row to the recordset (INSERT INTO....) I want to populate my view using that new row as the current record. Naturally as records have been added/removed the values of [RecNum] have become non-contigious so that poses problems.
So what is the best SQL query to isolate he last added record so I can.... Cursor.Position= ??? and make it the current record when the INSERT INTO process is complete ???
Thanks