Como ir ao último registro?

Delphi

08/12/2003

Ola pessoal, tenho um form de cadastro de cliente que grava os registros na tabela cliente, quando abro o form ele volta posicionado no primeiro registro da tabela e gostaria que ele voltasse no último registro. Como posso fazer isto.
Erivan Marinho.


Peninha

Peninha

Curtidas 0

Respostas

Eniorm

Eniorm

08/12/2003

Blz cara... fácil fácil, use:
table.Last; // vai pro último registro table.Fisrt; // vai pro primeiro registro table.Next; // move 1 a frente table.Prior; // move 1 a trás

T+[/code]


GOSTEI 0
POSTAR