Hi. well, got it working, had to set the counter to 9 and then add the counter and increment it by 1. so got all the rows and the correct number of records in the database in a label. sorry about that. should have figured that out first, but did not realise, until i tried something. cheers and sorry to bother you people. Marvin. __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind