Hi, This might be a stupid question- but I don't really know the answer to it so please help. I have been able to produce a program that connects to a database, does some processing to the data in there and then outputs the results from this program. It appears to work as it should. When I have a databse of 50 records the program promptly returns some results but any table with over 50 records causes some sort of problem; some processing is done but then it stops ie, the program appears to be still running but nothing is output - it seeems as though it gets stuck somewhere (I can see this happening because the pribnt stmt to verify processing is going on stop). Any ideas why???