How do i know that a table is empty ? "Empty" i mean here is no record in tha table or the table contain only deleted record. Does line below work ?
Code:
nRecno = IIF(NOT EOF("table") OR;
BOF("table"),RECNO("table"),.F.)
IF TYPE("nRecNo") = "L"
?" no record"
ElSE
?"Contain Record"
endif