"Timo" <timomlists at gmail.com> wrote > I'm using SQLite as database and will try the ROWID. Take a look at my working with databases topic under the heading Linking Data Across Tables which gives an exampler and discussion of using an autoincementing key in SqlLite. -- Alan Gauld Author of the Learn to Program web site http://www.alan-g.me.uk/