[V4MD1.1] order by RecID DESC ?

Florian Bogeschdorfer fb at memedia.de
Fri Jan 28 14:40:26 CST 2005


> 
> My task is to give a list of all fld1 sorted by their 
> creation's timestamp, i.e. the last added record has the 
> greatest RecID.
> 
> Or is my thought wrong?
> 

Yes, it is. Valentina will recycle the RecID (re-use it, when it gets free
after a record was deleted.

I personally have a seperate field in every relevant table where I need a
unique ID and a seperate table where I keep the next ID for the tables

Florian



More information about the Valentina mailing list