var i:integer;
begin
table1.MoveBy(strtoint(label1.caption));
for i:=1 to stringgrid1.RowCount-1 do begin
table1.Next;
stringgrid1.Cells[1,i]:= table1.Fields.Fields[0].AsString;
stringgrid1.Cells[2,i]:= table1.Fields.Fields[1].AsString;
end;
label1.caption := inttostr(table1.RecNo);