Thank you Mr.Kichu I will explain my situation detaily then you can understand easily. Actually we will have tables,forms,queries,reports etc., will be there in one mdb file right. In that mdb file i have one table called emp and i have query called qryemp in that query i have written select * from emp. now i want to access this query ...