Dear Bill,<BR>Thanks for the random db function you have helped me last week and explain ,<BR>One problem that in the autonumber when their is a delete the next number comes out after the delete , so let&#039s say i have 45 records but the numbers may be from 1 to 70 with numbers missing so the random number only using the count does not help me !<BR>Yesterday MG has gave me in the forum a article of 4guys about this issue but the function has allkind of new operators and pbjects i dont know , He was very kind but i am stuck ,<BR>I know your time is important but please help me if possible .<BR>Thanks <BR>Moti