0
When I enter a new record, I make an ordination where I sort by the last entered record.
SELECT TOP(50) * FROM TB_CLIENTE_FORNECEDOR where status <> 'S' order by IDCLIENTEFORNECEDOR desc
If I am editing a record of whose id is 10, I want to sort by this id.