Pre 2.x Version: How to get the last RecID?

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Apr 8 15:52:35 CDT 2005


On 4/8/05 3:14 PM, "Thomas Biedorf" <thomas at startmovie.net> wrote:

>> Now it returns new RecID
> 
> Looks like I need a newer PDF-Reference....
> 
> Any chance to convert the RecID to something better than the long
> negative numbers?
> 
> An example:
> 
> pCur = new( Xtra "Vcursor", GetRef(gUDB), "SELECT RecID FROM table")

You use V4MD 2 ?

Then you should write in new style:

    curs = gUDB.SqlSelect( "SELECT RecID FROM table" )


> returns values like 1,2,3,4,5,....
> 
> AddRecord() returns something like -2164573
> 
> Additional I encountered an error 310, which is not described in the
> PDF-Docs.

-- 
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