Hi, > Should the array TCEmain->substNEWwithIDs hold the uids of inserted records Yes, it does. Cheers -- Francois Suter Cobweb Development Sarl - http://www.cobweb.ch