Use
Db.Open;
first;
while not Db.Eof do begin
  //process your stuff here
RecordCount is an expensive operation with all
databases particularly SQL dbs

Depending on your transaction isolation and database
recordcount can change during your process

  next;
end;


mick


PS would all group memebers PLEASE trim their posts


Send instant messages to your online friends http://au.messenger.yahoo.com 


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to