Support for getting ID of newly added record?

Francois Van Lerberghe fvanlerberghe at freegates.be
Sun Jul 6 17:30:41 CDT 2003


le 6-07-03 12:30, Ruslan Zasukhin <sunshine at public.kherson.ua> a écrit :

> So for this way we need some way to get last RecID without cursor
> 
> INSERT INTO Phone (number, personPtr)
> VALUES ('12324345', LastRecID('person') )
> 
> Or 
> 
> INSERT INTO Phone (number, personPtr)
> VALUES ('12324345', Person.LastRecID )

Ah, yes I see. I didn't think about INSERT.

François Van Lerberghe
Thier Monty, 15A
B-4570 Marchin
Belgique



More information about the Valentina mailing list