LastInsertedRecID

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Nov 30 17:20:50 CST 2005


On 11/28/05 7:43 PM, "Ed Kleban" <Ed at Kleban.com> wrote:

> The V4RB reference manual mentions a "Table method" named LastInsertedRecID
> which the manual mentions is "r/o" on page 43, gives an example for, and
> notes "returns a RecID".  But the description offers no clue as to which
> table this record was added to.
> 
> Is it simply the last table to which a record was added?

YES

> If so wouldn't it be useful to have a function that also returned this
> information, perhaps LastTableInsertedInto?

May be this is good idea.
Just it seems any DB do not have this.

Ivan, what you think ?

 
> Or is the RecID here a 64-bit value encoding both the table and record Id?

No, it is OID 64 bit value.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list