Assuming you open or attached a Tcursor(tc)
Move tc to wherever you want put the record like tc.end(), tc.home(), whatever.
Insert a new record after, before, etc.
Then say you have a column of record numbers called RECORDN, simply use tc.RECORDN.cmax()
That will give you the maximum # in that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.