Very good codes!Thanks to you! but I have this problem with useing the access stored proc in asp code:return the recordset don't suport pagination,the display is none,Can you help me? I need your sample of the question. Waiting your reply! kevin zhang from China xi'an