hi alankar

You can't set the record sets for a report with out opening it..

but the way to achive this is..transfer all u r code to
"REPORT OPEN" method...it will works..
but..it might necessary to use some of u r variables as global variables..
try it ...

thanx & regards
Anu..