Is there a function/variable which give the number of records in a lookup file? Yes, the map could be read but I am looking for something akin to fieldlen(). Richard Kreiss GCC Consulting Office: 410-653-2813