Hi, I don't think you can set this automatically but try detecting what qr.next() returns and when it does return false (indicating no more record) call qr.reset() and then qr.next() and that should put you at the beginning of the query.
regards, Steeve... --- In Axapta-Knowledge-Village@yahoogroups.com, abhijit raje <[EMAIL PROTECTED]> wrote: > > Hi friends, > I have a problem in assigning the cursor to a > particular position if i use (qr.next())and the whole > loop finishes i want the cursor tobe pointing to first > record again . > plz give me the soln for this. >