Verificar Se a tabela não possui dados

Delphi

21/10/2003

Como faço para verificar se uma tabela está sem nenhum registro?...

:D
Anderson Toyoda.


Toyodaa

Toyodaa

Curtidas 0

Respostas

Henry

Henry

21/10/2003

Brother, tente assim.

if table1.recordcount = o then
showmessage(´A tabela ta zerada mermão´);


GOSTEI 0
Outl@w

Outl@w

21/10/2003

Ou ....

if table1.IsEmpty (query1.IsEmpty) then
bla, bla, bla ....etc e tal....

valeu?


GOSTEI 0
POSTAR