thank you everyone and sorry for the late reply. what happens if i want to preview the report in crystal report itself? i cant seem to find the revelant codes.