Subject Re: BOOKMARK
From Charlie <tm@tc.com>
Date Sun, 29 May 2022 12:42:48 -0400
Newsgroups dbase.getting-started

Hi Akshat..  I saw found this old post of yours.  I am in the same boat right now because I use xdml for functions.  I am trying the recno field.  But I don't understand your comment....'> The only fault is that if you delete some rows then renumbering of this
> field will not take place.'

I am not finding that happening.  Could this be because the last record is deleted?  
Thanks

Akshat Kapoor Wrote:

> On 07/03/2017 01:02, Mustansir Ghor wrote:
> > hello everyone
> >
> > does rowset.bookmark() method works same as in XDML recno(). I mean does it store the record no so that I call  rowset.goto() to reach same record. I was trying this logic but it gives me error.
> >
>
> I am also very used to the concept of goto
> but till now I have not found the concept of recno in oodml.
> The nearest I got to recno concept is that I have added a field which is
> autoinc (i even named it recno) i.e. numeric which increases
> automatically whenever a new record is added. It cannot be changed hence
> will always remain unique.
> It can be indexed and all functions/methods like findkey etc work on
> this field.
> The only fault is that if you delete some rows then renumbering of this
> field will not take place.
>
> Regards
> Akshat