Thanks. I am working as head of finance for retail company. We have 135 stores across the country with huge number of transactions. Over 60 GB in one year We are using Microsoft Dynamics (AX system). I am fairly good in writing SQL statements. Presently I am using power Pivot tool for data mining. What I would like to do is passing parameters into SQL, so that number of transactions will be less. I understand learning VB will ease my advantageous (in particular ado controls).