thanks june7
but later i have to export into excel therefore i have to check result then later do export in excel.
it will be better query result if do export direct query result in excel.
thanks for your cooperation.
i have other issues also which i would like to discusse with you.