>Hi Luc,
>
>If your using VFP8, why not use the new auto-increment functionality to generate a primary key. This is the way most enterprise databases generate primary unique keys.
>
>LelandJ
You are right but it's only unique with a table, by using SYS(2015), it is unique within all tables
Luc Nadeau
lnadeau@neova.ca"the theory, it is when all is known and that nothing works. The practice, it is when all works and that nobody knows why." - Albert Einstein (Nobel of physique 1921)