What is a good way of traping error under this situation. let say i am importing data from the excel worksheet to a flexgrid using adodb connection. and I want to be able to continue my importing process when an error arise and be able to keep track of the number of bad record and good record. Anyone have any good idea of how to approach this. Thank you in advance