Advertisement
Gov_777

Номер строки ADOQuery

Aug 3rd, 2016
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.21 KB | None | 0 0
  1. //отобразить номер текущей строки
  2. ShowMessage(IntToStr(DM.ADOQuery1.RecNo));
  3.  
  4. //выбрать случайную строку
  5. DM.ADOQuery1.RecNo:=Random(dm.ADOQuery1.RecordCount)+1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement