on 31/1/01 17:09, Paul Gaspar at paul At bizzcross D.O.T com wrote:
> Hi Ruslan and all! > > What happens to Cursor.Position and Cursor.RecordCount after > B=Cursor.Delete or B=Cursor.Drop? > > Will Position be
> [ ] Zero
> [ ] same as before, but pointing to nothing
> [ ] same as before, pointing to next record, which means > B=Cursor.NextRecord is not necessary yes, in the case you was on last record position will become (pos - 1)
> [ ] increased one
Paul position is just index in array of RecIDs
67 98 <<<< pos = 2 <<<< 32 54
after deletion
67 32 <<<< pos = 2 <<<< 54
----------------------------- > Will RecordCount be smaller immideately after Cursor.Delete?
YES
-- Best regards, Ruslan Zasukhin
------------------------- Paradigma.
e-mail: ruslan@paradigmasoft.com web : http://www.paradigmasoft.com
To subscribe to the Valentina mail list send a letter to valentina-on At lists D.O.T macserve.net
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Ruslan Zasukhin |